1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/layouts
Vanessa Yuen 3ffe51a8f0 sublanding tweaks based on feedback (#17445)
* tweaks based on feedback

* "marginalize" the columns with GUTTER

* layout changes to align the learning track heading heights

* star icon

* update ui language

Co-authored-by: Jason Etcovitch <jasonetco@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-01-28 12:28:10 +00:00
..
2020-12-22 01:09:59 +02:00
2020-09-27 14:10:11 +02:00

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.