File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ <h3><a style="color: inherit; text-decoration: none;" class="hx-block hx-font-se
14
14
{{- if site.Params.news.list.displayTags -}}
15
15
{{ with .Params.tags }}
16
16
< p class ="hx-opacity-50 hx-text-sm hx-leading-7 ">
17
- {{- range . }}< a class ="hx-inline-block hx-mr-2 " href ="/tags/{{ lower . }} "> #{{ . }}</ a > {{ end -}}
17
+ {{ partial "utils/icon.html" (dict "name" "tag" "attributes" `height=1em class="hx-inline-block ltr:hx-ml-1 rtl:hx-mr-1 hx-align-[-2.5px]"`) }} {{ - range . }}< a class ="hx-inline-block hx-mr-2 " href ="/tags/{{ lower . }} "> #{{ . }}</ a > {{ end -}}
18
18
</ p >
19
19
{{ end -}}
20
20
{{- end -}}
Original file line number Diff line number Diff line change 38
38
{{- if site.Params.news.list.displayTags -}}
39
39
{{ with .Params.tags }}
40
40
< p class ="hx-opacity-50 hx-text-sm hx-mb-4 hx-leading-7 ">
41
- {{- range . }}< a class ="hx-inline-block hx-mr-2 " href ="/tags/{{ lower . }} "> #{{ . }}</ a > {{ end -}}
41
+ {{ partial "utils/icon.html" (dict "name" "tag" "attributes" `height=1em class="hx-inline-block ltr:hx-ml-1 rtl:hx-mr-1 hx-align-[-2.5px]"`) }} {{ - range . }}< a class ="hx-inline-block hx-mr-2 " href ="/tags/{{ lower . }} "> #{{ . }}</ a > {{ end -}}
42
42
</ p >
43
43
{{ end -}}
44
44
{{- end -}}
You can’t perform that action at this time.
0 commit comments