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

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/terms.html')
-rw-r--r--layouts/_default/terms.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index dd0de30..fcd404d 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -17,7 +17,7 @@
</div>
<div class="collection-title">
<h2 class="archive-year">
- <a href="{{ .Permalink }}">
+ <a href="{{ replace .Permalink "#" "%23" }}">
{{ i18n "category" }}{{ $term }}
</a>
</h2>
@@ -37,7 +37,7 @@
{{ end }}
{{ if gt (len $pages) 5 }}
<div class="more-post">
- <a href="{{ .Permalink }}" class="more-post-link">{{ i18n "morePost" }}</a>
+ <a href="{{ replace .Permalink "#" "%23" }}" class="more-post-link">{{ i18n "morePost" }}</a>
</div>
{{ end }}
</section>
@@ -67,8 +67,8 @@
{{ $weigth := div (sub (math.Log $count) (math.Log $min)) (sub (math.Log $max) (math.Log $min)) }}
{{ $currentFontSize := (add $smallestFontSize (mul (sub $largestFontSize $smallestFontSize) $weigth) ) }}
{{ with $.Site.GetPage "taxonomy" $type $tagName }}
- <!--Current font size: {{$currentFontSize}}-->
- <a href="{{ .Permalink }}"
+ <!--Current font size: {{$currentFontSize}}-->
+ <a href="{{ replace .Permalink "#" "%23" }}"
style="font-size:{{$currentFontSize}}{{$fontUnit}}">{{ $tagName }}</a>
{{ end }}
{{ end }}