Compare commits

...

1 Commits
dev ... rss

Author SHA1 Message Date
iGor milhit a6e79a31da
layouts: improve the header and add a RSS icon
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-11-12 20:59:05 +01:00
1 changed files with 4 additions and 10 deletions

View File

@ -5,7 +5,7 @@
<!-- Insert the logo in SVG xml -->
<a href="{{ .Site.BaseURL }}"
title="{{ .Site.Title }}">
{{ partial "logo.html" }}
{{ partial "logos.html" }}
</a>
</li>
<li>
@ -29,20 +29,14 @@
</li>
{{ end -}}
<li class="nav-item secondary">
{{ if .IsPage -}}
<a class="nav-item-link"
href="{{ .Site.BaseURL }}index.xml"
title="{{ i18n "subscribeToPublications" }} {{ i18n "toWebsite" }}">
{{ i18n "subscribe" }}
</a>
{{ else if .IsHome -}}
<a class="nav-item-link"
{{ if or (.IsPage) (.IsHome) -}}
<a class="nav-item-link rss"
href="{{ .Site.BaseURL }}index.xml"
title="{{ i18n "subscribeToPublications" }} {{ i18n "toWebsite" }}">
{{ i18n "subscribe" }}
</a>
{{ else if .IsNode -}}
<a class="nav-item-link"
<a class="nav-item-link rss"
href="{{ .Permalink }}index.xml"
title="{{ i18n "subscribeToPublications" }} {{ i18n "toSection" }}">
{{ i18n "subscribe" }}