Skip to content

Commit

Permalink
Squashed 'docs/themes/docs-theme/' changes from d84a9b2e3..7ac79e398
Browse files Browse the repository at this point in the history
7ac79e398 Change glossary path
REVERT: d84a9b2e3 Change glossary path

git-subtree-dir: docs/themes/docs-theme
git-subtree-split: 7ac79e398305a2dbdbd88b3cd36e3b4c31e7483a
  • Loading branch information
ChrisChinchilla committed Sep 15, 2020
1 parent fa9fe8b commit 0ee3f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/docs/glossary-terms.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $glossaryBundle := site.GetPage "page" "glossary" }}
{{ $glossaryBundle := site.GetPage "page" "docs/glossary" }}
{{- if $glossaryBundle -}}
{{ $pages := $glossaryBundle.Resources.ByType "page" }}
{{- range site.Params.language_alternatives -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/glossary_tooltip.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{{- end }}
{{- with $term_info -}}
{{- $text := $text | default $term_info.Title -}}
{{- $glossary_home := "reference/glossary/?all=true" | relLangURL -}}
{{- $glossary_home := "glossary/?all=true" | relLangURL -}}
{{- $external_link := $term_info.Params.full_link | default (printf "%s#term-%s" $glossary_home $id | safeURL ) -}}
{{- $tooltip := $term_info.Params.short_description | markdownify -}}
{{- $tooltip := $tooltip | replaceRE "(?s)<a class='glossary-tooltip'.*?>(.*?)<span class='tooltip-text'>.*</a>" "$1" | plainify -}}
Expand Down

0 comments on commit 0ee3f03

Please sign in to comment.