Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-02-08 08:33:17 +0300
committerGitHub <noreply@github.com>2021-02-08 08:33:17 +0300
commit79a9da1d33e7c825005fb40aee183ed8bd91fc3d (patch)
tree07e69697a7cee9609f74edfc77e09b642c53a10f /docs
parent6d8e3a47bd672f8c6cef8e39935758de68ca6886 (diff)
Move icons to assets/icons (#730)
Diffstat (limited to 'docs')
-rw-r--r--docs/layouts/icons/single.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/layouts/icons/single.html b/docs/layouts/icons/single.html
index 39c47e6c8..33016a2b7 100644
--- a/docs/layouts/icons/single.html
+++ b/docs/layouts/icons/single.html
@@ -27,8 +27,9 @@
<hr class="my-4">
- {{- $svgPath := printf "/icons/%s.svg" .File.TranslationBaseName -}}
- {{- $svgHtml := readFile $svgPath | chomp | safeHTML -}}
+ {{- $localSvgPath := printf "/icons/%s.svg" .File.TranslationBaseName -}}
+ {{- $svgPath := path.Join "/assets/" $localSvgPath -}}
+ {{- $svgHtml := readFile $localSvgPath | chomp | safeHTML -}}
<div class="row gx-lg-5">
<div class="col-lg-8 mb-4">