diff options
Diffstat (limited to 'themes/new_theme/layouts/partials/post_tags.html')
-rw-r--r-- | themes/new_theme/layouts/partials/post_tags.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/themes/new_theme/layouts/partials/post_tags.html b/themes/new_theme/layouts/partials/post_tags.html index 549c76b..f21f372 100644 --- a/themes/new_theme/layouts/partials/post_tags.html +++ b/themes/new_theme/layouts/partials/post_tags.html @@ -1,10 +1,14 @@ {{- if .Params.tags }} <div class="post__tags tags clearfix"> - <svg class="icon icon-tag" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m4.73135 3.3795002q0-.5597-.39604-.9557-.39604-.3961-.95577-.3961-.55974 0-.95578.3961-.39604.396-.39604.9557 0 .5598.39604.9558.39604.3961.95578.3961.55973 0 .95577-.3961.39604-.396.39604-.9558zm11.26865 6.0832q0 .5596998-.39076.9504998l-5.18548 5.196q-.41188.3908-.9610504.3908-.55974 0-.9505-.3908l-7.5511496-7.5616998q-.40132-.3907-.68119-1.0666-.27987-.6759-.27987-1.2357v-4.3934q0-.54920004.40132-.95050004.40132-.4013.9505-.4013h4.39339q.55974 0 1.23565.2799.67591.2798 1.07723.6812l7.55115 7.54060004q.39076.4118.39076.961z"/></svg> + {{ partial "svg/tag.svg" (dict "class" "tags__badge") }} <ul class="tags__list"> {{- range .Params.tags }} - <li class="tags__item"><a class="tags__link" href="/tags/{{ . | urlize }}/" rel="tag">{{ . }}</a></li> + <li class="tags__item"> + <a class="tags__link btn" href="{{ "tags/" | relLangURL }}{{ . | urlize }}/" rel="tag"> + {{- . -}} + </a> + </li> {{- end }} </ul> </div> -{{- end }}
\ No newline at end of file +{{- end }} |