Allow hook template per section/type

Fixes #7349
This commit is contained in:
Bjørn Erik Pedersen
2020-06-02 18:08:17 +02:00
parent 3d9235e8fc
commit f8c67f93e1
4 changed files with 26 additions and 11 deletions

View File

@@ -87,6 +87,8 @@ Note that this is only supported with the [Goldmark](#goldmark) renderer.
Render Hooks allow custom templates to override markdown rendering functionality. You can do this by creating templates with base names `render-{feature}` in `layouts/_default/_markup`.
You can also create type/section specific hooks in `layouts/[type/section]/_markup`, e.g.: `layouts/blog/_markup`.{{< new-in "0.71.0" >}}
The features currently supported are:
* `image`