diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-12-21 11:59:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-21 11:59:36 +0100 |
commit | c8bfe47c6a740c5fedfdb5b7465d7ae1db44cb65 (patch) | |
tree | b2f487e54c0f6fc47a64c6f3ec0837454f1cdd99 /docs/content/en | |
parent | 50cc7fe54580018239ea95aafe67f6a158cdcc9f (diff) |
docs: More on hooks
Diffstat (limited to 'docs/content/en')
-rw-r--r-- | docs/content/en/getting-started/configuration-markup.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/en/getting-started/configuration-markup.md b/docs/content/en/getting-started/configuration-markup.md index 8c3633ce6..d876ae0d8 100644 --- a/docs/content/en/getting-started/configuration-markup.md +++ b/docs/content/en/getting-started/configuration-markup.md @@ -86,7 +86,7 @@ These Render Hooks allow custom templates to render links and images from markdo You can do this by creating templates with base names `render-link` and/or `render-image` inside `layouts/_default`. -You can define [Output Format](/templates/output-formats) specific templates if needed.[^hooktemplate] Your `layouts` folder may then look like this: +You can define [Output Format](/templates/output-formats) and [language](/content-management/multilingual/) nspecific templates if needed.[^hooktemplate] Your `layouts` folder may look like this: ```bash layouts @@ -99,9 +99,9 @@ layouts Some use cases for the above: -* Resolve link references using `.GetPage`. This would make links more portable as you could translate `./my-post.md` (and similar constructs that would work on GitHub) into `/blog/2019/01/01/my-post/` etc. -* Add `target=blank` to external links. -* Resolve +* Resolve link references using `.GetPage`. This would make links portable as you could translate `./my-post.md` (and similar constructs that would work on GitHub) into `/blog/2019/01/01/my-post/` etc. +* Add `target=_blank` to external links. +* Resolve and [process](/content-management/image-processing/) images. ### Render Hook Templates |