Added comment to the config template file about the possibility to access nested metadata with a dot as separator for sorting.

This commit is contained in:
Max P 2023-12-01 18:35:09 +01:00
parent c94e384ba3
commit 0092429793

View file

@ -30,7 +30,7 @@ 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")
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: asc # Sort pages in ascending ("asc") or descending ("desc") order
content_dir: ~ # The path to Pico's content directory