update example to v0.9.3

This commit is contained in:
relikd
2022-04-06 13:16:44 +02:00
parent a6d9f715f9
commit 637524a615
9 changed files with 78 additions and 52 deletions

View File

@@ -1 +1,15 @@
match = {{([^}]{1,32})}}
[testC]
root = /
slug = advanced/{key}/
template = example-advanced.html
[testC.pattern]
match = {{([^}]{1,32})}}
[testC.fields]
desc = "Tag: " ~ this.group ~ ", Key: " ~ this.key
[testC.key_map]
Blog = case-sensitive
Two = three
three = no-nested-replace

View File

@@ -1,5 +1,12 @@
[testA]
enabled = True
root = /
slug = config/{group}.html
slug = "config/{}.html".format(this.key)
template = example-config.html
split = ' '
[testA.fields]
title = "Tagged: " ~ this.group
[testA.key_map]
Blog = News