docs/layouts
Kevin Heis 6ae96188f2
Move 404 and 500 images to local (#17432)
2021-01-22 21:49:45 +00:00
..
README.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00
default.html Add/use small-footer for Actions landing page (#16265) 2020-11-03 13:12:25 -05:00
dev-toc.html Implement discount fingerprinting without webpack (#17337) 2021-01-19 23:00:54 -06:00
enterprise-server-releases.html Make heading are semantic while maintaining font-size 2021-01-08 00:08:25 +00:00
error-404.html Move 404 and 500 images to local (#17432) 2021-01-22 21:49:45 +00:00
error-500.html Move 404 and 500 images to local (#17432) 2021-01-22 21:49:45 +00:00
graphql-explorer.html fix breadcrumbs block 2020-12-22 01:09:59 +02:00
product-landing.html Make heading are semantic while maintaining font-size 2021-01-08 00:08:25 +00:00
product-sublanding.html Sublanding page all guides section (#16869) 2021-01-18 12:23:23 +00:00
release-notes.html Fix release notes sidescroll (#17412) 2021-01-21 16:29:21 +00: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.