lindesbs / pageyaml

GNU General Public License v3.0
1 stars 0 forks source link

pageYaml

Creating page trees via yaml file. Optionally with the first article and the first content element.

# Using the double tilde, the label can be separated from a fixed alias.
# Otherwise, the alias is formed from the label.
Homepage~~homepage:
  # By prefixing with a tilde, the individual attributes of a page can be addressed.
  ~description: The simple overview page
  ~language: en
  ~fallback: true
  ~includeLayout: true
  ~layout: Default
  Overview:
  Introdution:
  Links:
    Detail:
      ~visible: false
      ~hide: true
  Legal notice:
  Privacy Policy:
  # Numerical pages are parsed as error pages
  404:
  403:
  _HIDDEN:
    _Header:
    _Footer:

Aliases are generated automatically. If the first word starts with an underscore ("_"), the page is hidden.