Update link render hook to support glossary links

This commit is contained in:
Joe Mooring authored and GitHub committed 2025-01-19 16:40:42 -08:00
1 parent 53eadb430f
commit cd95f0f34e
5 files changed
+354 -15

No files matched your search

+1 -1
View File
@@ -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: