diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-06-02 18:08:17 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-06-02 19:02:10 +0200 |
commit | f8c67f93e123a7ac1c9c7af8000cc9d1fd978cd7 (patch) | |
tree | 6de6c2f34f79289b8be7263b29ded2b0557bb73b /docs/content | |
parent | 3d9235e8fcf31553c0c0f313d3264f12438749ea (diff) |
Allow hook template per section/type
Fixes #7349
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/en/getting-started/configuration-markup.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/en/getting-started/configuration-markup.md b/docs/content/en/getting-started/configuration-markup.md index df4449bbf..99d1e989d 100644 --- a/docs/content/en/getting-started/configuration-markup.md +++ b/docs/content/en/getting-started/configuration-markup.md @@ -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` |