Add RSS link to navbar
This commit is contained in:
parent
c4782f70ba
commit
525ffc5bd6
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,13 @@
|
|||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ with (.Site.GetPage "/").OutputFormats.Get "rss" }}
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ .Permalink }}">
|
||||
<i class="fas fa-rss" title="RSS"></i>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue