Skip to content

Commit 7e64956

Browse files
committed
style: index.html: Align author icon with text
1 parent 820a319 commit 7e64956

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

layouts/index.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,8 @@ <h4 class="text-xl font-semibold mb-1">
9090
<span>{{ .Date.Format "January 2, 2006" }}</span>
9191
</li>
9292
{{ if .Params.author }}
93-
<li class="flex items-start">
94-
<span class="mx-1.5 flex-shrink-0 mt-px">|</span>
95-
<span class="flex-shrink-0 mt-px">
96-
{{ partial "icon.html" (dict "style" "regular" "name" "circle-user" "class" "mr-1.5") }}
97-
</span>
93+
<li class="flex items-center">
94+
{{ partial "icon.html" (dict "style" "regular" "name" "circle-user" "class" "mr-1.5") }}
9895
<span>By {{ partial "components/author-links.html" . }}</span>
9996
</li>
10097
{{ end }}

0 commit comments

Comments
 (0)