docs/layouts
Jason Etcovitch 207695312c
Actions landing page tweaks (#15927)
* Learn `more => GitHub Actions`

* Getting started => Guides

* Remove features row

* Guides => Code examples

* Shouldn't remove gettingStartedLinks

* Add introLinks frontmatter

* Fix wrong articles in "Manage workflows"

* Change more guides wording
2020-10-15 16:01:28 -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 Actions landing page tweaks (#15927) 2020-10-15 16:01:28 -04: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.