Merge dev into main branch #2
6 changed files with 56 additions and 10 deletions
|
@ -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;
|
||||||
|
text-align: center;
|
||||||
|
p{
|
||||||
|
margin: .25em;
|
||||||
span {
|
span {
|
||||||
padding: 17.6px 30px;
|
&:not(:last-child) {
|
||||||
margin-right: auto;
|
&::after {
|
||||||
|
content: '·';
|
||||||
|
padding: .25em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: var(--text-secondary);
|
||||||
|
text-decoration-color: transparent;
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration-color: var(--text-secondary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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:
|
||||||
|
|
|
@ -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"
|
||||||
|
|
12
i18n/de.yaml
12
i18n/de.yaml
|
@ -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
|
||||||
|
|
12
i18n/en.yaml
12
i18n/en.yaml
|
@ -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
|
||||||
|
|
|
@ -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 -}}
|
||||||
|
<span><a href="{{ .URL }}">{{ i18n .Identifier | default .Name }}</a></span>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<span>{{ i18n "made-with" }}<a href='{{ .Site.Params.staticSiteGeneratorLink }}'>{{ .Site.Params.staticSiteGenerator }}</a></span>
|
||||||
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in a new issue