docs/layouts
Ihor Sychevskyi 5c5010002d
Merge branch 'main' into fix-btn
2020-11-30 17:53:29 +02: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 use abbr tag 2020-11-16 20:46:54 -05:00
error-404.html Add/use small-footer for Actions landing page (#16265) 2020-11-03 13:12:25 -05:00
error-500.html Add/use small-footer for Actions landing page (#16265) 2020-11-03 13:12:25 -05:00
product-landing.html fix action buttons on mobile 2020-11-21 14:33:45 +02:00
release-notes.html Render Enterprise release notes on docs.github.com (#16367) 2020-11-20 13:33:11 -05: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.