layout
creates documentation of a Jekyll layout.
Layouts are like rendering functions that turn page variables and content data into specific HTML.
This page is an example of layout
in use, documenting itself (source).
See the usage section below for an illustration of how to invoke this layout in a documentation file.
---
layout: "layout"
description: string
parameters: [ variable_info, .. ]
parent_layout: [ string, .. ]
title: string
---
<content>
description | purpose of layout. the first line will rendered as larger text. Because it is singled out, any links in the first line must use the inline style |
parameters | optional list of supported page variables. use the following yaml format for each:
|
parent_layout | optional chain of layouts this layout inherits from, ordered with parent first, then grandparent, great grandparent, and so on.
|
title | filename of layout, without extension |
programming pages
2020 pixeldroid
https://github.com/pixeldroid/programming-pages |
programming pages theme v0.5.22 (https://github.com/pixeldroid/programming-pages) |
s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g e |
go to examples |
g g |
go to guides |
g l |
go to layout_api |
h |
toggle this help ( esc also exits) |