diff --git a/assets/style.scss b/assets/style.scss index 647eaef..f9f350d 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -51,17 +51,11 @@ center { text-align: center; } -code { - border-radius: 4px; - background: var(--border); - padding: 6px; -} - pre { - background: var(--border); + border: 1px solid var(--vrifox-red); border-radius: 4px; - overflow: scroll; - padding: 6px; + overflow: auto; + padding: 10px 15px; } p img { diff --git a/config.yaml b/config.yaml index 1f067aa..e85dd3d 100644 --- a/config.yaml +++ b/config.yaml @@ -11,45 +11,44 @@ languages: name: - identifier: vrifox.cc name: VrifoxCC - title: vrifox.cc url: / weight: 1 main: - - identifier: blog - name: Blog - title: blog - url: /blog/ - weight: 2 - - identifier: blogroll - name: Blogroll - title: blogroll - url: /blogroll/ - weight: 3 - - identifier: library - name: Bibliothek - url: /bibliothek/ - weight: 4 - identifier: projects name: Projekte - title: projects url: /projekte/ - weight: 5 + weight: 1 + - identifier: blog + name: Blog + url: /blog/ + weight: 2 + - identifier: wiki + name: Wiki + url: /wiki/ + weight: 3 footer: - identifier: privacy - name: Privacy - title: privacy + name: Datenschutz url: /privacy/ - weight: 3 + weight: 1 - identifier: feed - name: Feed (RSS) - title: rss-feed + name: RSS-Feed url: /blog/index.xml - weight: 4 + weight: 2 - identifier: sourcecode - name: Source Code - title: source code + name: Quellcode url: https://code.cozy.town/vrifox/vrifox.cc - weight: 5 + weight: 3 + wiki: + - identifier: recipes + name: Rezepte + url: /wiki/rezepte/ + weight: 1 + sub: + - identifier: sourcecode + name: Quellcode + url: https://code.cozy.town/vrifox/vrifox.cc + weight: 30 en: #contentDir: /content/en/ languageName: English @@ -59,45 +58,34 @@ languages: name: - identifier: vrifox.cc name: VrifoxCC - title: vrifox.cc url: / weight: 1 main: - - identifier: blog - name: Blog - title: blog - url: /blog/ - weight: 2 - - identifier: blogroll - name: Blogroll - title: blogroll - url: /en/blogroll/ - weight: 3 - - identifier: library - name: Library - url: /en/library/ - weight: 4 - identifier: projects name: Projects - title: projects url: /en/projects/ - weight: 5 + weight: 1 + - identifier: blog + name: Blog + url: /blog/ + weight: 2 + - identifier: wiki + name: Wiki + url: /wiki/ + weight: 3 footer: - identifier: privacy name: Privacy - title: privacy url: /privacy/ - weight: 3 + weight: 1 - identifier: feed - name: Feed (RSS) - title: rss-feed + name: RSS-Feed url: /blog/index.xml - weight: 4 + weight: 2 - identifier: sourcecode name: Source Code - title: source code url: https://code.cozy.town/vrifox/vrifox.cc - weight: 5 + weight: 3 enableRobotsTXT: true markup: highlight: diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 988fe7b..b1c7f66 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -8,6 +8,7 @@

{{ .Title }}

+

{{ .Content }}

{{- range .Pages }}

{{ .Title }} {{ .Date.Day }}. {{ if eq .Params.lang "de"}} {{ index $.Site.Data.monate (printf "%d" .Date.Month) }} {{ else }} {{ .Date.Month }} {{ end }} {{ .Date.Year }}

{{- end }}