Add page title to window title, last modification time (according to Git) to footer
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5cdd38fcaf
commit
dbf189fa02
|
@ -32,8 +32,22 @@ main {
|
|||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
max-width: $large;
|
||||
margin: 0 auto;
|
||||
padding: 0.5em;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
|
||||
@media screen and (min-width: $small) {
|
||||
flex-direction: row;
|
||||
|
||||
& :first-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6, p {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
baseURL = "https://www.franconian.net/"
|
||||
title = "franconian.net"
|
||||
enableGitInfo = true
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[imprint]
|
||||
other = "Impressum"
|
||||
[last_change]
|
||||
other = "Zuletzt geändert"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[imprint]
|
||||
other = "Imprint"
|
||||
[last_change]
|
||||
other = "Last update"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<title>{{ block "title" . }}
|
||||
{{ .Site.Title }}
|
||||
{{ .Title }} | {{ .Site.Title }}
|
||||
{{ end }}</title>
|
||||
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
||||
{{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
|
||||
|
@ -12,8 +12,8 @@
|
|||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="nav">
|
||||
<a class="nav-logo" href="{{ .Site.LanguagePrefix }}/"><img src="https://styleguide.rc3.world/Logo/Logo%20Set%203/SVG/Logo%20SD%20blue.svg" alt="Blue version of the rC3 logo">franconian.net</a>
|
||||
<nav class="nav nav-main">
|
||||
<a class="nav-logo" href="{{ .Site.LanguagePrefix }}/"><img src="https://styleguide.rc3.world/Logo/Logo%20Set%203/SVG/Logo%20SD%20blue.svg" alt="Blue version of the rC3 logo">{{ .Site.Title }}</a>
|
||||
{{ if .IsTranslated }}
|
||||
{{ range .Translations }}
|
||||
<a class="nav-link" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
|
||||
|
@ -29,7 +29,12 @@
|
|||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
<footer>
|
||||
<a href="/imprint">{{ i18n "imprint" }}</a>
|
||||
{{ i18n "last_change" . }}: {{ .Lastmod }}
|
||||
<nav class="nav">
|
||||
{{ range .Site.Menus.footer }}
|
||||
<a class="nav-link" href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue