update example to v0.9.3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user