Skip to content

Commit 4d31284

Browse files
committed
fix: post metadata on mobile #94
1 parent 7e5aded commit 4d31284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/_default/single.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<h1 class="text-2xl font-bold mb-2">{{ .Title }}</h1>
1919
{{ if not (or (or .Site.Params.hideMeta .Params.hideMeta) false) }}
20-
<h5 class="text-sm flex items-center">
20+
<h5 class="text-sm flex items-center flex-wrap">
2121
<svg xmlns="http://www.w3.org/2000/svg" class="mr-1" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
2222
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
2323
<rect x="4" y="5" width="16" height="16" rx="2" />
@@ -28,7 +28,7 @@ <h5 class="text-sm flex items-center">
2828
</svg>
2929
{{ $datestr | i18n "postedOnDate" }}
3030
{{ if ne $datestr $lastmodstr }}
31-
&nbsp{{ $lastmodstr | i18n "lastModified" }}</h5><h5 class="text-sm flex items-center">
31+
&nbsp{{ $lastmodstr | i18n "lastModified" }}</h5><h5 class="text-sm flex items-center flex-wrap">
3232
{{ else }}
3333
&nbsp;&bull;&nbsp;
3434
{{ end }}

0 commit comments

Comments
 (0)