Einbinden von CustomCSS setzt keine Site-Base mehr davor + kleinere Anpassungen um Leerzeilen zu vermeiden
This commit is contained in:
parent
c14beceef6
commit
631c22e7c6
18 changed files with 134 additions and 146 deletions
|
@ -1,36 +1,33 @@
|
|||
<footer class="bg-dark text-bg-dark">
|
||||
<nav class="nav justify-content-center navbar-expand-md navbar-dark ">
|
||||
{{ with .Site.Params.Imprint }}
|
||||
{{- with .Site.Params.Imprint }}
|
||||
<a class="nav-link" href="{{- . -}}">Impressum</a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Privacy }}
|
||||
{{- end }}
|
||||
{{- with .Site.Params.Privacy }}
|
||||
<a class="nav-link" href="{{- . -}}">Datenschutz</a>
|
||||
{{ end }}
|
||||
{{ if (not .IsHome) }}
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{- end }}
|
||||
{{- if (not .IsHome) }}
|
||||
{{- with .OutputFormats.Get "rss" -}}
|
||||
<a class="nav-link" href="{{- .Permalink | relURL -}}">RSS-Feed</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</nav>
|
||||
|
||||
<p>
|
||||
{{ if (and (isset .Site.Params "githashfile") (isset .Site.Params "gitrepourl")) }}
|
||||
{{ if (fileExists .Site.Params.gitHashFile) }}
|
||||
{{ $commit_id := trim (readFile .Site.Params.gitHashFile) "\n" }}
|
||||
{{- if (and (isset .Site.Params "githashfile") (isset .Site.Params "gitrepourl")) }}
|
||||
{{- if (fileExists .Site.Params.gitHashFile) }}
|
||||
{{- $commit_id := trim (readFile .Site.Params.gitHashFile) "\n" }}
|
||||
Git commit:
|
||||
<a class="border bg-light text-bg-light rounded px-1 me-1"
|
||||
href="{{- .Site.Params.gitRepoUrl -}}/commit/{{- $commit_id -}}"
|
||||
target="_blank">{{- substr $commit_id 0 7 -}}</a>
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
<small>Updated on {{ now.Format "January 2, 2006" }}</small>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ with .Site.Copyright }}
|
||||
<a class="nav-link" href="#"><small>Webseite: © {{- . -}}</small></a>
|
||||
{{ end }}
|
||||
{{- with .Site.Copyright }}
|
||||
<a class="nav-link" href="#"><small>Webseite: © {{- . -}}</small></a>
|
||||
{{- end }}
|
||||
<a class="nav-link" href="http://marcodn.de/"><small>Design: © 2009-{{ now.Format "2006"}} MarcoDN</small></a>
|
||||
</p>
|
||||
</footer>
|
||||
</footer>
|
Loading…
Add table
Add a link
Reference in a new issue