lindesbs / pageyaml

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

English translation - readme.md #5

Open operatorone opened 1 year ago

operatorone commented 1 year ago

Here is an English translation of the readme. I was waiting years for this kind of extension to come. Thanks a lot for your effort. Please let me know if I can help with something.

What should the file name for the yaml file be?


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.

lindesbs commented 1 year ago

Brilliant. The name ist your choice. You have to store the .yaml file in the files directory. I have to write this in the readme too.

If you are able to manage CSS, that would be gorgious. Next step ist a checkbox for automatically create articles and ContentElements and insert the yaml configuration as a subtree. And the export of an existing configuration.

operatorone commented 1 year ago

That's outstanding. I can help you with CSS, no problem. What do you need here? Backend styling?

lindesbs commented 1 year ago

CSS and Formclasses