Centered Tags on Posts page (#681)

* Centered Tags on Posts page

* Update single.html

Proper Centering withour Removing <ul></ul>
This commit is contained in:
Joan 2022-10-30 16:02:45 +01:00 committed by GitHub
parent 1dc00ccb1e
commit 33d91af120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@
</div>
{{ if site.Params.enableTags }}
<div class="taxonomy-terms">
<ul>
<ul style="padding-left: 0;">
{{ range .Params.tags }}
{{ $url:= printf "tags/%s" . }}
<li class="rounded"><a href="{{ $url | urlize | relLangURL }}" class="btn, btn-sm">{{ . }}</a></li>