/usr/share/httpd/grav/user/config/plugins/archives.yaml (1)

From RaySoft
# ------------------------------------------------------------------------------
# archives.yaml
# =============
#
# Project   Root Server
# Scope     Native
# Copyright (C) 2024 by RaySoft, Zurich, Switzerland
# License   GNU General Public License (GPL) 2.0
#           https://www.gnu.org/licenses/gpl2.txt
#
# ------------------------------------------------------------------------------

enabled: true

built_in_css: true
date_display_format: 'F Y'
show_count: true
limit: 12
taxonomy_names:
    month: 'archives_month'
    year: 'archives_year'

order:
    by: 'date'
    dir: 'desc'
filters:
    category: 'blog'
filter_combinator: 'and'

page_specific_config:
    -  route: '/berichte'
       order:
           by: 'date'
           dir: 'desc'
       filters:
           page@: '/berichte'
       filter_combinator: 'and'

Usage

See Grav Howto (1)