We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea8ab91 + 97b22f9 commit 98fbbedCopy full SHA for 98fbbed
layouts/shortcodes/glossary_definition.html
@@ -4,7 +4,7 @@
4
{{- $prepend := .Get "prepend" }}
5
{{- $glossaryBundle := site.GetPage "page" "docs/reference/glossary" -}}
6
{{- $glossaryItems := $glossaryBundle.Resources.ByType "page" -}}
7
-{{- $term_info := $glossaryItems.GetMatch (printf "%s*" $id ) -}}
+{{- $term_info := $glossaryItems.GetMatch (printf "%s.md" $id ) -}}
8
{{- if not $term_info -}}
9
{{- errorf "[%s] %q: %q is not a valid glossary term_id, see ./docs/reference/glossary/* for a full list" site.Language.Lang .Page.Path $id -}}
10
{{- end -}}
0 commit comments