summaryrefslogtreecommitdiff
path: root/themes/kvog/layouts
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-06-23 20:07:59 -0500
committerHunter Kvalevog <hunter@kvog.sh>2026-06-23 20:07:59 -0500
commit531c82359c93f81e40ec2aa6d77b8e0dbd8d4c9e (patch)
treecf3255eb911d98151abbcd3553c7df82b707334b /themes/kvog/layouts
parent226726866367a099e700abb447dc08dec13aea59 (diff)
Diffstat (limited to 'themes/kvog/layouts')
-rw-r--r--themes/kvog/layouts/_partials/header.html2
-rw-r--r--themes/kvog/layouts/section.html24
2 files changed, 18 insertions, 8 deletions
diff --git a/themes/kvog/layouts/_partials/header.html b/themes/kvog/layouts/_partials/header.html
index 7980a00..0d3b144 100644
--- a/themes/kvog/layouts/_partials/header.html
+++ b/themes/kvog/layouts/_partials/header.html
@@ -1,2 +1,4 @@
+{{ if .IsHome }}
<h1>{{ site.Title }}</h1>
+{{ end }}
{{ partial "menu.html" (dict "menuID" "main" "page" .) }}
diff --git a/themes/kvog/layouts/section.html b/themes/kvog/layouts/section.html
index 748f2f5..bb7ac54 100644
--- a/themes/kvog/layouts/section.html
+++ b/themes/kvog/layouts/section.html
@@ -1,10 +1,18 @@
{{ define "main" }}
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- {{ range .Pages }}
- <section>
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ .Summary }}
- </section>
- {{ end }}
+ {{ .Content }}
+ <table>
+ {{ range .Pages }}
+ <tr>
+ <td><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></td>
+ </tr>
+ {{ end }}
+ </table>
+ <!--
+ {{ range .Pages }}
+ <section>
+ <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{ .Summary }}
+ </section>
+ {{ end }}
+ -->
{{ end }}