Merge dev into main branch #2

Merged
vrifox merged 11 commits from dev into main 2023-01-06 22:53:36 +01:00
6 changed files with 56 additions and 10 deletions
Showing only changes of commit 3cf6018c1f - Show all commits

View file

@ -1,10 +1,25 @@
footer { footer {
background-color: var(--border);
color: var(--text-secondary); color: var(--text-secondary);
grid-area: footer; grid-area: footer;
a { color: var(--text-secondary); } margin: 1em auto;
span { text-align: center;
padding: 17.6px 30px; p{
margin-right: auto; margin: .25em;
span {
&:not(:last-child) {
&::after {
content: '·';
padding: .25em;
}
}
a {
color: var(--text-secondary);
text-decoration-color: transparent;
&:hover {
text-decoration: underline;
text-decoration-color: var(--text-secondary);
}
}
}
} }
} }

View file

@ -8,6 +8,8 @@ defaultContentLanguageInSubdir: true
params: params:
displayName: "Vri 🌈" displayName: "Vri 🌈"
username: "@vrifox" username: "@vrifox"
staticSiteGenerator: "Hugo"
staticSiteGeneratorLink: "https://gohugo.io/"
markup: markup:
highlight: highlight:

View file

@ -19,7 +19,7 @@ main:
# name: "Empfehlungen" # name: "Empfehlungen"
# pageref: "/blogroll/" # pageref: "/blogroll/"
# weight: 5 # weight: 5
footer: footer_source:
- identifier: "sourcecode" - identifier: "sourcecode"
name: "Quellcode" name: "Quellcode"
url: "https://code.cozy.town/vri/website" url: "https://code.cozy.town/vri/website"

View file

@ -6,6 +6,18 @@ projects:
blog: blog:
other: Blog other: Blog
sourcecode:
other: "Quellcode"
# Footer
build:
other: "Build "
build-title-tag:
other: "Build von "
made-with:
other: "Erstellt mit "
# Shortcodes # Shortcodes
verticalposts-more: verticalposts-more:
other: mehr other: mehr

View file

@ -6,6 +6,18 @@ projects:
blog: blog:
other: Blog other: Blog
sourcecode:
other: "Sourcecode"
# Footer
build:
other: "Build "
build-title-tag:
other: "Build from "
made-with:
other: "Made with "
# Shortcodes # Shortcodes
verticalposts-more: verticalposts-more:
other: more other: more

View file

@ -1,7 +1,12 @@
<footer> <footer>
<p title="Build vom {{ .Date | time.Format "2. January 2006, um 15:04 Uhr MST" }}">Version: {{ .Date | time.Format "02.01.2006" }}</p> <p>
{{- range .Site.Menus.footer }} <span title='{{ i18n "build-title-tag" }}{{ now | time.Format ":date_full" }}, {{ now | time.Format ":time_full" }}'>{{ i18n "build" }}{{ now | time.Format ":date_short" }}</span>
<a href="{{ .URL }}">{{ .Name }}</a> {{- range .Site.Menus.footer_source -}}
{{- end }} <span><a href="{{ .URL }}">{{ i18n .Identifier | default .Name }}</a></span>
{{- end }}
</p>
<p>
<span>{{ i18n "made-with" }}<a href='{{ .Site.Params.staticSiteGeneratorLink }}'>{{ .Site.Params.staticSiteGenerator }}</a></span>
</p>
</footer> </footer>