diff --git a/themes/ccchh/assets/sass/main.scss b/themes/ccchh/assets/sass/main.scss index c6b1043..d32207e 100644 --- a/themes/ccchh/assets/sass/main.scss +++ b/themes/ccchh/assets/sass/main.scss @@ -30,6 +30,18 @@ body>main { padding-bottom: var(--spacing); } +.small { + font-size: 0.7em; +} + +.on-hover { + display: none; +} + +.on-hover-trg:hover .on-hover { + display: initial; +} + .li-comma { &::after { content: ", "; diff --git a/themes/ccchh/layouts/index.html b/themes/ccchh/layouts/index.html index bef599c..b3942d5 100644 --- a/themes/ccchh/layouts/index.html +++ b/themes/ccchh/layouts/index.html @@ -8,7 +8,7 @@ {{- $upcoming := where $events ".Params.date" "ge" now }} {{ if $upcoming }}
-

Neuigkeiten

+

Neuigkeiten

{{- range $upcoming.ByDate }}
{{- partial "blog-header.html" (dict "headingLink" true "level" 4 "reduced" true "page" . ) }} @@ -27,7 +27,8 @@ {{- $sections := where ($home.Resources.ByType "page") ".File.LogicalName" "index.md" }} {{- range sort $sections "File.Path" "asc" }}
-

{{ .Title }}

+ {{- $hdg_id := .Title | lower | safeURL }} +

{{ .Title }}

{{ .Content -}} {{- $subsec_dir := strings.TrimLeft "home/" .File.Dir }}