layouts: improve the header and add a RSS icon
Co-Authored-by: iGor milhit <igor@milhit.ch>rss
parent
9036561668
commit
a6e79a31da
|
@ -5,7 +5,7 @@
|
||||||
<!-- Insert the logo in SVG xml -->
|
<!-- Insert the logo in SVG xml -->
|
||||||
<a href="{{ .Site.BaseURL }}"
|
<a href="{{ .Site.BaseURL }}"
|
||||||
title="{{ .Site.Title }}">
|
title="{{ .Site.Title }}">
|
||||||
{{ partial "logo.html" }}
|
{{ partial "logos.html" }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -29,20 +29,14 @@
|
||||||
</li>
|
</li>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<li class="nav-item secondary">
|
<li class="nav-item secondary">
|
||||||
{{ if .IsPage -}}
|
{{ if or (.IsPage) (.IsHome) -}}
|
||||||
<a class="nav-item-link"
|
<a class="nav-item-link rss"
|
||||||
href="{{ .Site.BaseURL }}index.xml"
|
|
||||||
title="{{ i18n "subscribeToPublications" }} {{ i18n "toWebsite" }}">
|
|
||||||
{{ i18n "subscribe" }}
|
|
||||||
</a>
|
|
||||||
{{ else if .IsHome -}}
|
|
||||||
<a class="nav-item-link"
|
|
||||||
href="{{ .Site.BaseURL }}index.xml"
|
href="{{ .Site.BaseURL }}index.xml"
|
||||||
title="{{ i18n "subscribeToPublications" }} {{ i18n "toWebsite" }}">
|
title="{{ i18n "subscribeToPublications" }} {{ i18n "toWebsite" }}">
|
||||||
{{ i18n "subscribe" }}
|
{{ i18n "subscribe" }}
|
||||||
</a>
|
</a>
|
||||||
{{ else if .IsNode -}}
|
{{ else if .IsNode -}}
|
||||||
<a class="nav-item-link"
|
<a class="nav-item-link rss"
|
||||||
href="{{ .Permalink }}index.xml"
|
href="{{ .Permalink }}index.xml"
|
||||||
title="{{ i18n "subscribeToPublications" }} {{ i18n "toSection" }}">
|
title="{{ i18n "subscribeToPublications" }} {{ i18n "toSection" }}">
|
||||||
{{ i18n "subscribe" }}
|
{{ i18n "subscribe" }}
|
||||||
|
|
Loading…
Reference in New Issue