IMPROVEMENT polish tag style

This commit is contained in:
FarseaSH 2024-02-24 18:40:17 +08:00
parent 9151869e97
commit 631a7ea121
2 changed files with 4 additions and 5 deletions

View file

@ -286,6 +286,7 @@ $gray: #919EB1;
padding-left: 20px;
padding-right: 15px;
margin-right: 10px;
margin-bottom: 5px;
border-radius: 15px;
@ -309,7 +310,7 @@ $gray: #919EB1;
padding-right: 6px;
border-radius: 12px;
margin-right: 2px;
margin-right: 6px;
font-size: 110%;
}

View file

@ -53,7 +53,7 @@
<div style="padding-left: 5px; padding-right: 5px;">
{{/* tag */}}
{{ $tags_filtered := slice}}
{{ $tags_filtered := slice }}
{{ with $page.Params.tags }}
{{ range . }}
{{ with .}}
@ -64,9 +64,7 @@
{{ with $tags_filtered }}
<div class="tag-div">
{{ range . }}
<div class="new-tag">
{{ . }}
</div>
<div class="new-tag">{{ trim . " " }}</div>
{{ end }}
</div>
{{ end }}