diff --git a/logya/sites/docs/content/index.html b/logya/sites/docs/content/index.html index dd3f9a6..1cca632 100644 --- a/logya/sites/docs/content/index.html +++ b/logya/sites/docs/content/index.html @@ -88,6 +88,22 @@

Document Structure

Document Header

Each document must specify the url and title attributes in the header, all other attributes are optional. Attribute values can range from simple strings to nested data structures that are automatically available in templates.

The only exception with a pre-defined value format is the created attribute. If you set it, it must adhere to the format YYYY-MM-DDTHH:MM:SS without surrounding quotes as shown in the example above. If you don't set the creation time in a document header, the file modification time will be used for sorting documents in indexes.

+ +

Tags

+

You can tag documents using the tags attribute, which is assigned a list of comma separated tags, for example:

+
+tags: [example tag 1, example tag 2, example tag 3]
+
+

If you specify document tags the tags sub-directory will be created containing indexes with links to the corresponding documents, in this case don't create document URLs that start with /tags/.

+

To create a list of links to these index pages from a post you can access the tags_links template variable, which is populated automatically and mustn't be specified manually in the document header:

+
+{% if tag_links %}
+  {% for url, anchor in tag_links %}
+    {{anchor|e}}
+  {% endfor %}
+{% endif %}
+
+

Configuration Settings

Below you find configuration sections and settings: