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
diff options
context:
space:
mode:
-rw-r--r--config.yml2
-rw-r--r--docs/layouts/icons/single.html5
2 files changed, 4 insertions, 3 deletions
diff --git a/config.yml b/config.yml
index 55cadb595..d69fed23b 100644
--- a/config.yml
+++ b/config.yml
@@ -34,7 +34,7 @@ module:
- source: bootstrap-icons.svg
target: static/bootstrap-icons.svg
- source: icons
- target: static/icons
+ target: static/assets/icons
- source: font
target: static/font
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">