Browse Source

add Slug to readme

master
juju2013 1 year ago
parent
commit
ee81bc3f41
2 changed files with 4 additions and 0 deletions
  1. 2
    0
      README.md
  2. 2
    0
      examples/amber/posts/README.md

+ 2
- 0
README.md View File

@@ -77,6 +77,8 @@ Key `Template` can be used to choose the template (without the .amber extension)

Key `Index` will save also the page as `index.html`, its value will be ignored.

Key `Slug` will rename the page with its value, default to all characters in filename within regex `[^a-zA-Z\-_0-9]` .

You can define any `xxx` key in the front matter and use that key/value in your template.

## Demo

+ 2
- 0
examples/amber/posts/README.md View File

@@ -87,6 +87,8 @@ Key `Template` can be used to choose the template (without the .amber extension)

Key `Index` will save also the page as `index.html`, its value will be ignored.

Key `Slug` will rename the page with its value, default to all characters in filename within regex `[^a-zA-Z\-_0-9]` .

You can define any `xxx` key in the front matter and use that key/value in your template.

## Demo

Loading…
Cancel
Save