Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoDocs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Oliff <christianoliff@pm.me>2022-10-07 11:54:05 +0300
committerGitHub <noreply@github.com>2022-10-07 11:54:05 +0300
commit301379fc33b640dde0286ff723a52a43ed84f436 (patch)
treeb36e8ade20e769baf9e572d354612aa38e0ac7a1
parentde5fa7b304a33302fa1214ce8cf5ee468c9caa9c (diff)
fix: use shorter image URL to make it easier to read (#1835)
-rw-r--r--content/en/templates/render-hooks.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/en/templates/render-hooks.md b/content/en/templates/render-hooks.md
index 6987819ca..3d114dc96 100644
--- a/content/en/templates/render-hooks.md
+++ b/content/en/templates/render-hooks.md
@@ -15,7 +15,6 @@ menu:
{{< new-in "0.62.0" >}} Note that this is only supported with the [Goldmark](/getting-started/configuration-markup#goldmark) renderer.
-
You can override certain parts of the default Markdown rendering to HTML by creating templates with base names `render-{kind}` 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" >}}
@@ -101,7 +100,7 @@ Here is a code example for how the render-link.html template could look:
### Image Markdown example:
```md
-![Text](https://d33wubrfki0l68.cloudfront.net/c38c7334cc3f23585738e40334284fddcaf03d5e/2e17c/images/hugo-logo-wide.svg "Title")
+![Text](https://gohugo.io/images/hugo-logo-wide.svg "Title")
```
Here is a code example for how the render-image.html template could look: