Fix reading time pluralisation

This commit is contained in:
JP Hastings-Spital 2024-05-12 22:40:41 +01:00
parent 45c2971a3f
commit c09114a670
2 changed files with 3 additions and 3 deletions

View file

@ -25,8 +25,8 @@ other = "Oops, page not found…"
# posts/single.html # posts/single.html
# #
[readingTime] [readingTime]
one = "One minute" one = "One minute's read"
other = "{{ .Count }} minutes" other = "{{ .Count }} minutes' read"
[tableOfContents] [tableOfContents]
other = "Table of Contents" other = "Table of Contents"

View file

@ -34,7 +34,7 @@
<circle cx="12" cy="12" r="10"></circle> <circle cx="12" cy="12" r="10"></circle>
<polyline points="12 6 12 12 16 14"></polyline> <polyline points="12 6 12 12 16 14"></polyline>
</svg> </svg>
{{ i18n "readingTime" .Page.ReadingTime }} read {{ i18n "readingTime" .Page.ReadingTime }}
</p> </p>
<p class="author h-card hidden" aria-hidden="true"> <p class="author h-card hidden" aria-hidden="true">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>