Enable html render for example sites and updated config example in

README #40
This commit is contained in:
Dmitry Kolosov 2020-06-13 19:32:10 +03:00
parent 27451bd00e
commit 4c54e7a425
3 changed files with 11 additions and 0 deletions

View File

@ -61,6 +61,11 @@ params:
- css/my.css # relative path to "static" directory - css/my.css # relative path to "static" directory
dateFormat: "2006-01-02" dateFormat: "2006-01-02"
paginationSinglePost: true paginationSinglePost: true
markup:
goldmark:
renderer:
unsafe: true # enable raw HTML in Markdown
``` ```
### Check your site ### Check your site

View File

@ -37,3 +37,6 @@ googleAnalytics = ""
[taxonomies] [taxonomies]
category = "categories" category = "categories"
tag = "tags" tag = "tags"
[markup.goldmark.renderer]
unsafe = true

View File

@ -60,3 +60,6 @@ googleAnalytics = ""
[taxonomies] [taxonomies]
category = "categories" category = "categories"
tag = "tags" tag = "tags"
[markup.goldmark.renderer]
unsafe = true