aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-09-29 22:05:18 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-10-01 07:51:11 +0200
commit3d83f6e14f3524531dbc5afadb42f2946161a2f6 (patch)
tree748d870501c37b04132f9d556ffc0263b77b0077 /layouts/_default
parent4c41e477e13d37e187c8de4225c7e8056bd9ed28 (diff)
Update global styles
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html5
-rw-r--r--layouts/_default/single.html8
2 files changed, 5 insertions, 8 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index aa39a42..4e673db 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -5,10 +5,7 @@
</head>
<body class="max-w-screen-md mx-auto px-2.5">
- <div class="header">
- {{ partial "header/index" . }}
- {{ partial "header/theme-button" . }}
- </div>
+ {{ partial "header/index" . }}
<main id="content">
{{- block "main" . -}}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 80c3bee..271ddd8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -7,16 +7,16 @@
<div class="meta">
{{/* Publish date */}}
<time datetime="{{ .PublishDate }}" title='{{ .PublishDate.Format "Mon, Jan 2, 2006, 3:04 PM MST" }}'>
- {{ .PublishDate.Format "02/01/2006" }} - {{ printf (i18n "estimatedReadingTime") .ReadingTime }}
+ {{ .PublishDate.Format "02/01/2006" }} - Estimated reading time: {{ .ReadingTime }} minutes
</time>
- {{/* Categories */}}
- {{ with (.GetTerms "categories") }} —
+ {{/* Categories */}}
+ {{ with (.GetTerms "categories") }} —
{{ range . }}
<a class="categories" href="{{ .RelPermalink }}" alt="{{ .LinkTitle }}">
{{ .LinkTitle }}
</a>
- {{ end }}
+ {{ end }}
{{ end }}
</div>
</header>