Rss und noch weitere Kleinigkeiten

This commit is contained in:
mdn 2022-11-15 23:34:16 +01:00
parent 6dd9fa38f6
commit 4ca99523cf
4 changed files with 17 additions and 6 deletions

View file

@ -1,7 +1,9 @@
<footer class="footer bg-dark text-white">
<nav class="nav justify-content-center navbar-expand-md navbar-dark ">
<a class="nav-link" href="#">Impressum & Datenschutz</a>
<a class="nav-link" href="#">RSS-Feed</a>
{{ with .OutputFormats.Get "rss" -}}
<a class="nav-link" href="{{- .Permalink -}}">RSS-Feed</a>
{{ end }}
</nav>
<p><a class="nav-link" href="#"><small>&copy; 2009-{{ now.Format "2006"}} MarcoDN</small></a></p>

View file

@ -21,4 +21,8 @@
<link rel="stylesheet" type="text/css" href="{{ $.Site.BaseURL }}{{ . }}">
{{ end }}
{{ end }}
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end }}
</head>