mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-20 02:17:39 +00:00
1 parent
ad4a124c0c
commit
b8d5383f71
175 files changed
+382
-378
No files matched your search
@@ -25,6 +25,6 @@ In most contexts Go's [html/template] package will escape special characters. To
|
||||
{{ htmlUnescape "Lilo & Stitch" | safeHTML }}
|
||||
```
|
||||
|
||||
[`safehtml`]: /functions/safe/html
|
||||
[`safehtml`]: /functions/safe/html/
|
||||
[html entities]: https://developer.mozilla.org/en-us/docs/glossary/entity
|
||||
[html/template]: https://pkg.go.dev/html/template
|
||||
@@ -26,6 +26,6 @@ To keep the wrapping `p` tags for a single paragraph, use the [`RenderString`] m
|
||||
{{% note %}}
|
||||
Although the `markdownify` function honors [markdown render hooks] when rendering markdown to HTML, use the `RenderString` method instead of `markdownify` if a render hook accesses `.Page` context. See issue [#9692] for details.
|
||||
|
||||
[markdown render hooks]: /render-hooks
|
||||
[markdown render hooks]: /render-hooks/
|
||||
[#9692]: https://github.com/gohugoio/hugo/issues/9692
|
||||
{{% /note %}}
|
||||
@@ -113,7 +113,7 @@ A remote resource is a file on a remote server, accessible via HTTP or HTTPS.
|
||||
```
|
||||
|
||||
[resource]: /getting-started/glossary/#resource
|
||||
[page bundle]: /content-management/page-bundles
|
||||
[page bundle]: /content-management/page-bundles/
|
||||
|
||||
## Options
|
||||
|
||||
@@ -288,5 +288,5 @@ Hugo renders this to:
|
||||
</ul>
|
||||
```
|
||||
|
||||
[`index`]: /functions/collections/indexfunction
|
||||
[`index`]: /functions/collections/indexfunction/
|
||||
[identifiers]: https://go.dev/ref/spec#Identifiers
|
||||
Reference in new issue
Block a user