Skip to content

Commit 8cc597a

Browse files
authored
Should use title for posts then fallback to "archives"
1 parent 30c3d9f commit 8cc597a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/section/posts.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="mt-8 lg:mt-12 px-4">
88
<div class="mx-auto prose dark:prose-invert">
99
<h1 class="text-3xl">
10-
{{ default .Title (T "archives") }}
10+
{{ default (T "archives") .Title }}
1111
</h1>
1212
{{ if .Content }}
1313
<p class="text-sm">{{ .Content }}</p>

0 commit comments

Comments
 (0)