Skip to main content

LFP Docs as baseline

While LFP Docs is an expansive tool to create fast and easy-to-use documentation websites, it preserves Eleventy's hallmakr feature of a flexible and extendable static-site generator.

This tiny example of a blog shows how all of Eleventy's features can still be used with LFP Docs, while even using some of the plugins templating features!

  • Eleventy's tags system is used to group and structure this blog's content pages.
  • Eleventy's flexible template inheritance is employed here to generate new templates based on LFP Docs's default ones.
  • While still being accessible, all of the documentation's content is not affected by any of the decisions made for this blog subpage. (This inversely means that LFP Docs might as well be plugged into a more extensive Eleventy site.)

You can define your own custom frontmatter schema and aside from a couple of reserved keys, there are no restrictions imposed by LFP Docs.