restructured the menu; fixed and changed the appearance of code blocks
This commit is contained in:
parent
69b22f49c1
commit
27a43fc4d7
3 changed files with 42 additions and 59 deletions
|
@ -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 {
|
||||
|
|
88
config.yaml
88
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:
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<main>
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<p>{{ .Content }}</p>
|
||||
{{- range .Pages }}
|
||||
<p> <a href="{{ .Permalink }}">{{ .Title }}</a> <span>{{ .Date.Day }}. {{ if eq .Params.lang "de"}} {{ index $.Site.Data.monate (printf "%d" .Date.Month) }} {{ else }} {{ .Date.Month }} {{ end }} {{ .Date.Year }}</span> </p>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue