diff options
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/kvog/assets/css/main.css | 8 | ||||
| -rw-r--r-- | themes/kvog/layouts/_partials/header.html | 2 | ||||
| -rw-r--r-- | themes/kvog/layouts/section.html | 24 |
3 files changed, 25 insertions, 9 deletions
diff --git a/themes/kvog/assets/css/main.css b/themes/kvog/assets/css/main.css index 11744b1..e0bb58c 100644 --- a/themes/kvog/assets/css/main.css +++ b/themes/kvog/assets/css/main.css @@ -4,7 +4,8 @@ body { color: #222; font-family: sans-serif; - line-height: 1.5; + font-family: Arial, sans-serif; + font-size: 13px; margin: 1rem; max-width: 1024px; } @@ -13,3 +14,8 @@ a { color: #00e; text-decoration: none; } + +summary { + cursor: pointer; +} + 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 }} |