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;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
|
||||||
border-radius: 4px;
|
|
||||||
background: var(--border);
|
|
||||||
padding: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background: var(--border);
|
border: 1px solid var(--vrifox-red);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
overflow: scroll;
|
overflow: auto;
|
||||||
padding: 6px;
|
padding: 10px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p img {
|
p img {
|
||||||
|
|
88
config.yaml
88
config.yaml
|
@ -11,45 +11,44 @@ languages:
|
||||||
name:
|
name:
|
||||||
- identifier: vrifox.cc
|
- identifier: vrifox.cc
|
||||||
name: VrifoxCC
|
name: VrifoxCC
|
||||||
title: vrifox.cc
|
|
||||||
url: /
|
url: /
|
||||||
weight: 1
|
weight: 1
|
||||||
main:
|
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
|
- identifier: projects
|
||||||
name: Projekte
|
name: Projekte
|
||||||
title: projects
|
|
||||||
url: /projekte/
|
url: /projekte/
|
||||||
weight: 5
|
weight: 1
|
||||||
|
- identifier: blog
|
||||||
|
name: Blog
|
||||||
|
url: /blog/
|
||||||
|
weight: 2
|
||||||
|
- identifier: wiki
|
||||||
|
name: Wiki
|
||||||
|
url: /wiki/
|
||||||
|
weight: 3
|
||||||
footer:
|
footer:
|
||||||
- identifier: privacy
|
- identifier: privacy
|
||||||
name: Privacy
|
name: Datenschutz
|
||||||
title: privacy
|
|
||||||
url: /privacy/
|
url: /privacy/
|
||||||
weight: 3
|
weight: 1
|
||||||
- identifier: feed
|
- identifier: feed
|
||||||
name: Feed (RSS)
|
name: RSS-Feed
|
||||||
title: rss-feed
|
|
||||||
url: /blog/index.xml
|
url: /blog/index.xml
|
||||||
weight: 4
|
weight: 2
|
||||||
- identifier: sourcecode
|
- identifier: sourcecode
|
||||||
name: Source Code
|
name: Quellcode
|
||||||
title: source code
|
|
||||||
url: https://code.cozy.town/vrifox/vrifox.cc
|
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:
|
en:
|
||||||
#contentDir: /content/en/
|
#contentDir: /content/en/
|
||||||
languageName: English
|
languageName: English
|
||||||
|
@ -59,45 +58,34 @@ languages:
|
||||||
name:
|
name:
|
||||||
- identifier: vrifox.cc
|
- identifier: vrifox.cc
|
||||||
name: VrifoxCC
|
name: VrifoxCC
|
||||||
title: vrifox.cc
|
|
||||||
url: /
|
url: /
|
||||||
weight: 1
|
weight: 1
|
||||||
main:
|
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
|
- identifier: projects
|
||||||
name: Projects
|
name: Projects
|
||||||
title: projects
|
|
||||||
url: /en/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:
|
footer:
|
||||||
- identifier: privacy
|
- identifier: privacy
|
||||||
name: Privacy
|
name: Privacy
|
||||||
title: privacy
|
|
||||||
url: /privacy/
|
url: /privacy/
|
||||||
weight: 3
|
weight: 1
|
||||||
- identifier: feed
|
- identifier: feed
|
||||||
name: Feed (RSS)
|
name: RSS-Feed
|
||||||
title: rss-feed
|
|
||||||
url: /blog/index.xml
|
url: /blog/index.xml
|
||||||
weight: 4
|
weight: 2
|
||||||
- identifier: sourcecode
|
- identifier: sourcecode
|
||||||
name: Source Code
|
name: Source Code
|
||||||
title: source code
|
|
||||||
url: https://code.cozy.town/vrifox/vrifox.cc
|
url: https://code.cozy.town/vrifox/vrifox.cc
|
||||||
weight: 5
|
weight: 3
|
||||||
enableRobotsTXT: true
|
enableRobotsTXT: true
|
||||||
markup:
|
markup:
|
||||||
highlight:
|
highlight:
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<h1 class="title">{{ .Title }}</h1>
|
<h1 class="title">{{ .Title }}</h1>
|
||||||
|
<p>{{ .Content }}</p>
|
||||||
{{- range .Pages }}
|
{{- 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>
|
<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 }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue