docs/layouts
Jason Etcovitch caaee7a124
Update all files to use `{% data %}` (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00
..
README.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00
default.html Set doctype html on all pages (#15779) 2020-09-28 10:06:04 -07:00
error-404.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
error-500.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
product-landing.html Set doctype html on all pages (#15779) 2020-09-28 10:06:04 -07:00

README.md

Layouts

The files in this directory are layouts which can be wrapped around pages.

See also includes, which are snippets of HTML or Markdown that can be reused in multiple layouts.

Using Layouts

Be default, layouts/default.html will be used for all pages.

To use a custom layout, add a layout value to the page's frontmatter:

---
title: Hello World
layout: some-layout
---

The example above will use the layouts/some-layout.html layout.

To render a page with no layout, set layout: false.

Writing Layouts

Layout files should have a .html or .md extension, and they must include the string {{ content}} to specify where inner content should be injected.