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

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/term.html')
-rw-r--r--layouts/_default/term.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index e081039..9874224 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -25,15 +25,6 @@
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }}
<div class="box post-box">
- {{ with .Params.Tags }}
- <div class="post-box-tags">
- {{ range .}}
- <span class="post-tag post-box-tag">
- <a href="{{ $ctx.Site.BaseURL }}{{ "/tags/" | relLangURL }}{{ . | urlize }}">#{{ . }}</a>
- </span>
- {{ end }}
- </div>
- {{ end }}
<div class="post-box-title">
<a href="{{.Permalink }}" class="title is-size-5">{{ .Title }}</a>
</div>
@@ -42,11 +33,20 @@
{{ with .Params.Categories }} ・
{{ range .}}
<span class="post-tag post-box-category">
- <a href="{{ $ctx.Site.BaseURL }}{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ <a href="{{ $ctx.Site.BaseURL }}{{ "/categories/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
</span>
{{ end }}
{{ end }}
</div>
+ {{ with .Params.Tags }}
+ <div class="post-box-tags">
+ {{ range .}}
+ <span class="post-tag post-box-tag">
+ <a href="{{ $ctx.Site.BaseURL }}{{ "/tags/" | relLangURL }}{{ . | urlize }}/">#{{ . }}</a>
+ </span>
+ {{ end }}
+ </div>
+ {{ end }}
</div>
{{ end }}
{{ partial "paginator.html" . }}
@@ -56,4 +56,4 @@
</div>
</div>
</section>
-{{ end }} \ No newline at end of file
+{{ end }}