Skip to content

Commit 6594ebc

Browse files
committed
Fix path for icon shortcode
1 parent c12be47 commit 6594ebc

File tree

1 file changed

+1
-1
lines changed
  • site/themes/arangodb-docs-theme/layouts/shortcodes

1 file changed

+1
-1
lines changed

site/themes/arangodb-docs-theme/layouts/shortcodes/icon.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<span class="inline-icon" aria-hidden="true">
22
{{- $iconName := .Get 0 }}
3-
{{- $iconPath := printf "/site/content/images/icons/%s.svg" $iconName }}
3+
{{- $iconPath := printf "content/images/icons/%s.svg" $iconName }}
44
{{- $iconSvg := readFile $iconPath }}
55
{{- if $iconSvg }}
66
{{- $iconSvg | safeHTML }}

0 commit comments

Comments
 (0)