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

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/pagination.html')
-rw-r--r--layouts/partials/pagination.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html
index 3321ceb..c349689 100644
--- a/layouts/partials/pagination.html
+++ b/layouts/partials/pagination.html
@@ -1,5 +1,3 @@
-{{ $icons := (.Scratch.Get "svgBundle").RelPermalink }}
-
{{ $pag := $.Paginator }}
@@ -26,7 +24,7 @@
<li>
<a class="btn" href="{{ $pag.First.URL }}" aria-label="{{ T "go_to_first" }}">
<svg aria-hidden="true">
- <use transform="rotate(180) translate(-18 -18)" xlink:href="{{ $icons }}#angle-double-right"/>
+ <use transform="rotate(180) translate(-18 -18)" xlink:href="#angle-double-right"/>
</svg>
</a>
</li>
@@ -37,7 +35,7 @@
<li>
<a class="btn" href="{{ $pag.Prev.URL }}" aria-label="{{ T "go_to_prev" }}">
<svg transform="rotate(180)" aria-hidden="true">
- <use xlink:href="{{ $icons }}#angle-right"/>
+ <use xlink:href="#angle-right"/>
</svg>
</a>
</li>
@@ -106,7 +104,7 @@
<li>
<a class="btn" href="{{ $pag.Next.URL }}" aria-label="{{ T "go_to_next" }}">
<svg aria-hidden="true">
- <use xlink:href="{{ $icons }}#angle-right"/>
+ <use xlink:href="#angle-right"/>
</svg>
</a>
</li>
@@ -117,7 +115,7 @@
<li>
<a class="btn" href="{{ $pag.Last.URL }}" aria-label="{{ T "go_to_last" }}">
<svg aria-hidden="true">
- <use xlink:href="{{ $icons }}#angle-double-right"/>
+ <use xlink:href="#angle-double-right"/>
</svg>
</a>
</li>