Changelog and config template adapted according to the suggestions.
This commit is contained in:
parent
987cf5ffc2
commit
e995d5a51c
2 changed files with 4 additions and 3 deletions
|
@ -32,7 +32,8 @@ Released: -
|
|||
now receive the (optional) `$pageId` argument for the new `%page_*%`
|
||||
Markdown placeholders
|
||||
* [New] Add `page()` Twig function to access a page's data
|
||||
* [New] Enhance `pages_order_by_meta` functionality to allow sorting by nested meta values using '.' notation (e.g., 'author.info')
|
||||
* [New] Enhance `pages_order_by_meta` functionality to allow sorting by
|
||||
nested meta values using '.' notation (e.g., 'author.info')
|
||||
* [Changed] ! Pico now requires PHP 7.2.5 or later (this includes full PHP 8
|
||||
support, also see #528, #534, #608)
|
||||
* [Changed] ! Pico now depends on Twig 3.3, skipping Twig 2.x altogether; this
|
||||
|
|
|
@ -30,8 +30,8 @@ twig_config: # Twig template engine config
|
|||
#
|
||||
date_format: "%D %T" # Pico's default date format;
|
||||
# See https://php.net/manual/en/function.strftime.php for more info
|
||||
pages_order_by_meta: author # Sort pages by meta value "author" (set "pages_order_by" to "meta"); use '.' for nested meta keys (e.g., 'author.info')
|
||||
pages_order_by: alpha # Change how Pico sorts pages ("alpha" for alphabetical order, "date", or "meta")
|
||||
pages_order_by_meta: author # Sort pages by meta value "author" (set "pages_order_by" to "meta")
|
||||
# Use '.' notation for nested meta keys (e.g. 'author.info')
|
||||
pages_order: asc # Sort pages in ascending ("asc") or descending ("desc") order
|
||||
content_dir: ~ # The path to Pico's content directory
|
||||
content_ext: .md # The file extension of your Markdown files
|
||||
|
|
Loading…
Add table
Reference in a new issue