lindesbs/pageyaml

Seitenbaeume via YAML generieren

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 4

Type:contao-bundle

v0.1.3 2023-06-10 14:55 UTC

README

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.