diff options
author | RandomBloke <asleeppiano@outlook.com> | 2020-02-24 23:16:56 +0300 |
---|---|---|
committer | RandomBloke <asleeppiano@outlook.com> | 2020-02-24 23:16:56 +0300 |
commit | 58a3f2a94cefbf7ab297e39e09e6155fc2d1643d (patch) | |
tree | a44d1514e1f2908fb3a67dcd50dad871de2f142e | |
parent | 8656f7253f412d36b540cd48679e5390636dfc46 (diff) |
tag links fixed
-rw-r--r-- | layouts/_default/li.html | 2 | ||||
-rw-r--r-- | layouts/partials/featured.html | 2 |
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> |