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

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandomBloke <asleeppiano@outlook.com>2020-02-24 23:16:56 +0300
committerRandomBloke <asleeppiano@outlook.com>2020-02-24 23:16:56 +0300
commit58a3f2a94cefbf7ab297e39e09e6155fc2d1643d (patch)
treea44d1514e1f2908fb3a67dcd50dad871de2f142e
parent8656f7253f412d36b540cd48679e5390636dfc46 (diff)
tag links fixed
-rw-r--r--layouts/_default/li.html2
-rw-r--r--layouts/partials/featured.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/li.html b/layouts/_default/li.html
index dc7a053..35082f7 100644
--- a/layouts/_default/li.html
+++ b/layouts/_default/li.html
@@ -13,7 +13,7 @@
</a>
{{end}}
{{if isset .Params "tags"}}
- <a href="/tags/{{index .Params.tags 0 | urlize}}" class="post-item__tag">
+ <a href="{{.Site.BaseURL}}tags/{{index .Params.tags 0 | urlize}}" class="post-item__tag">
{{index .Params.tags 0}}
</a>
{{end}}
diff --git a/layouts/partials/featured.html b/layouts/partials/featured.html
index 55c9118..bda02d7 100644
--- a/layouts/partials/featured.html
+++ b/layouts/partials/featured.html
@@ -10,7 +10,7 @@
</a>
<ul class="featured-post__tags">
{{ range .Params.tags }}
- <li><a href="/tags/{{. | urlize}}">{{.}}</a></li>
+ <li><a href="{{ $.Site.BaseURL }}tags/{{. | urlize}}">{{.}}</a></li>
{{end}}
</ul>
</div>