docs: update examples + readme
This commit is contained in:
@@ -7,7 +7,7 @@ template = example-advanced.html
|
||||
match = {{([^}]{1,32})}}
|
||||
|
||||
[testC.fields]
|
||||
desc = "Tag: " ~ this.group ~ ", Key: " ~ this.key
|
||||
desc = "Input object: {}, output key: {}".format(this.key_obj, this.key)
|
||||
|
||||
[testC.key_map]
|
||||
Blog = case-sensitive
|
||||
|
||||
@@ -4,12 +4,19 @@ root = /
|
||||
slug = config/{key}.html
|
||||
template = example-config.html
|
||||
split = ' '
|
||||
key_obj_fn = '{}-z-{}'.format(X.upper(), ARGS.key.fieldKey) if X else None
|
||||
replace_none_key = unknown
|
||||
|
||||
[testA.children]
|
||||
order_by = -title, body
|
||||
|
||||
[testA.pagination]
|
||||
enabled = true
|
||||
per_page = 1
|
||||
url_suffix = .page.
|
||||
|
||||
[testA.fields]
|
||||
title = "Tagged: " ~ this.group
|
||||
title = "Tagged: " ~ this.key_obj
|
||||
|
||||
[testA.key_map]
|
||||
Blog = News
|
||||
|
||||
Reference in New Issue
Block a user