FP. Pages Developer Docs


To turn off developer docs set DEVELOPER_MODE: false in you `.env`

Quick Start

FP-Pages is a minimalist UI/Frontend Toolkit for building performance driven, accessibility first websites. Powered by modern Serverless, Javascript, API's and Markdown stack, with built in Netlify, Cloudflare pages and Azure coming soon integration for easy server(less) deploys. A lightweight...



Configuration

To change or add config keys like the title, description, subtitle, etc open system/_includes/data/settings.json change or add any calues you need. /** ./system/_includes/data/settings.json **/ { "title": "FP.Pages", "subtitle": "Lightweight, Fast, Accessible,...




Plugins

Markdown @shawn-sandy/marked Add markdown syntax to your HTML markup Markdown Filter {{ "### markdown description" | markdown }} Markdown Shortcode {% markdown %} ### Header Paragraph text... Lorem ipsum... {% endmarkdown %} Header Paragraph text... Lorem ipsum...


Macros

Category collection macro example(s) {% import "macros/collections.njk" as collection with context %} <section>{{ collection.category('experience') }}</section> <section>{{ collection.category('interaction') }}</section> <section>{{...


Helpers

Display the current year Strip HTML for content Limit number of words Time ago, Human readable dates 11ty.js (src) Display the current year <!-- 2021 --> {{ hlp.11ty.year() }} Strip HTML for content {{ hlp.11ty.stripHtml(item.templateContent) | safe }} Limit number of words <!--...



License

The MIT License (MIT) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...