Compare commits

...

2 Commits

Author SHA1 Message Date
Martin Müller 245f7ce922 Merge branch 'main' of https://git.luj0ga.de/franconian/www.franconian.net into main
continuous-integration/drone/push Build is passing Details
2020-11-24 17:58:23 +01:00
Martin Müller 94702b622c Add i18n footer and imprint 2020-11-24 17:58:00 +01:00
6 changed files with 36 additions and 0 deletions

View File

@ -12,6 +12,9 @@
body {
background: $background;
display: flex;
flex-direction: column;
min-height: 100vh;
}
header {
@ -23,6 +26,11 @@ main {
margin: auto;
}
footer {
text-align: center;
padding: 0.5em;
}
h1, h2, h3, h4, h5, h6, p {
margin-bottom: 0.5em;
padding: 0 0.5rem;
@ -56,6 +64,10 @@ figure {
}
}
.wrapper {
flex: 1;
}
.nav {
max-width: 1200px;
margin: 0 auto;

7
content/imprint.de.md Normal file
View File

@ -0,0 +1,7 @@
---
title: Impressum
---
backspace e. V.
Spiegelgraben 41
96052 Bamberg

8
content/imprint.md Normal file
View File

@ -0,0 +1,8 @@
---
title: Imprint
---
backspace e. V.
Spiegelgraben 41
96052 Bamberg
Germany

2
i18n/de.toml Normal file
View File

@ -0,0 +1,2 @@
[imprint]
other = "Impressum"

2
i18n/en.toml Normal file
View File

@ -0,0 +1,2 @@
[imprint]
other = "Imprint"

View File

@ -26,7 +26,12 @@
{{ end }}
</nav>
</header>
<div class="wrapper">
{{ block "main" . }}
{{ end }}
</div>
<footer>
<a href="/imprint">{{ i18n "imprint" }}</a>
</footer>
</body>
</html>