lindesbs/pageyaml

通过YAML生成页面树

安装: 6

依赖: 0

建议者: 0

安全: 0

星星: 1

关注者: 2

分支: 0

开放问题: 4

类型:contao-bundle

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

This package is auto-updated.

Last update: 2024-09-10 19:01:08 UTC


README

通过yaml文件创建页面树。可选地包含第一个文章和第一个内容元素。

# 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:

别名自动生成。如果第一个单词以下划线("_")开头,则页面将被隐藏。