page

 

page is designed to be inherited from. It is generally the layout that any new custom pages should use, in order to take advantage of theme features.

The layout accepts an order parameter, to specify a relative value that is used to sort against sibling pages in the same collection.

Other optional parameters include description, category, and search_tags, which are used when displaying search results (see Search input).

Usage

---
layout: "page"

category: string
description: string
order: string
search_tags: string
---
<content>

Parameters

category
optional
 category label to be used in search results display
description
optional
 description to be used in search results (first 7 words will display)
order
optional
 ordinal to be used for sorting. Positive numbers will be sorted first, in ascending order, with 0 the first possible value. Negative numbers will be sorted last, in ascending order, with -1 the last possible integer value:
🡯first       last🡮
0 1 2 3  .. -3 -2 -1
Pages without an order value will fall in between, sorted alphabetically by filename (not title). Ordering comparisons are only performed between siblings (files in the same folder), not across parent-child levels.
search_tags
optional
 additional search terms to find this page by
programming pages 2020 pixeldroid
https://github.com/pixeldroid/programming-pages
programming pages theme v0.5.22 (https://github.com/pixeldroid/programming-pages)