summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-04-20 19:10:57 +0200
committermms <michal@sapka.me>2024-04-20 19:10:57 +0200
commit381ce4ca32a589b89b914095aa94ba197c8c9d9d (patch)
tree5cc47c29dd5752c64a5d146b5057cb6149132e0e /layouts/partials
parent9484d54518f501b1e715f9e4dd057dba606d4803 (diff)
feat: trek 5x21
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/menu.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
index 5a2c91f..6f327ee 100644
--- a/layouts/partials/menu.html
+++ b/layouts/partials/menu.html
@@ -16,7 +16,7 @@
{{- if .Params.nonpage }}
<li>{{.Name }}
{{- else if .Params.placeholder }}
- <li class="placeholder">{{.Name }}
+ <li><span class="placeholder">{{.Name }}</span>
{{- else}}
<li><b><a href="{{ .URL }}">{{ .Name }}</a></b>
{{- partial "inline/menu/new-or-up.html" (dict "page" ($page.GetPage .URL)) }}
@@ -48,8 +48,8 @@
{{- if lt (div (now.Sub .page.PublishDate).Hours 24) 15}}
<span class="new">(new)</span>
{{- else}}
- {{if lt (div (now.Sub .page.Lastmod).Hours 24) 15}}
-<!-- <span class="new">(updated)</span> -->
+ {{if lt (div (now.Sub .page.Lastmod).Hours 24) 10 }}
+<span class="new">(updated)</span>
{{- end}}
{{- end}}