layouts: ajoute une icône RSS
ajoute une icône RSS et simplifie le code (en le portant depuis le template du thème). Co-Authored-by: iGor milhit <igor@milhit.ch>rss
parent
094dc0e062
commit
5d2443941a
|
@ -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" }}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 90365616684a7a278eff55d8ce772daef4c5160e
|
||||
Subproject commit a6e79a31da299f526b3cc129fd5512421a02bdc1
|
Loading…
Reference in New Issue