mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-18 00:15:04 +00:00
Update link render hook to support glossary links
This commit is contained in:
1 parent
53eadb430f
commit
cd95f0f34e
5 files changed
+354
-15
No files matched your search
@@ -124,7 +124,7 @@ Then, in your base template, conditionally include the KaTeX CSS within the head
|
||||
</head>
|
||||
{{< /code >}}
|
||||
|
||||
In the above, note the use of a {{% gl noop %}} statement to force content rendering before we check the value of `hasMath` with the `Store.Get` method.
|
||||
In the above, note the use of a [noop](g) statement to force content rendering before we check the value of `hasMath` with the `Store.Get` method.
|
||||
|
||||
Although you can use one template with conditional logic as shown above, you can also create separate templates for each [`Type`](#type) of passthrough element:
|
||||
|
||||
|
||||
Reference in new issue
Block a user