mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-05-19 22:41:52 +02:00
feat(rss): Option to show RSS in footer.
This commit is contained in:
parent
c77c69da84
commit
351d55ceb8
3 changed files with 13 additions and 2 deletions
|
@ -36,6 +36,14 @@
|
|||
</p>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.footer.showRss | default false }}
|
||||
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
||||
<i class="bi bi-rss-fill"></i>
|
||||
<a href="{{ .Site.Params.footer.rssName }}">RSS</a>
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{/* Theme attribution */}}
|
||||
{{ if .Site.Params.footer.showThemeAttribution | default true }}
|
||||
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
||||
|
@ -65,4 +73,4 @@
|
|||
{{ if templates.Exists "partials/extend-footer.html" }}
|
||||
{{ partialCached "extend-footer.html" . }}
|
||||
{{ end }}
|
||||
</footer>
|
||||
</footer>
|
||||
|
|
|
@ -112,6 +112,9 @@
|
|||
<link href="{{ $url }}" rel="me" />{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<!-- Bootstrap icons -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||
{{/* Vendor */}}
|
||||
{{ partial "vendor.html" . }}
|
||||
{{/* Analytics */}}
|
||||
|
|
|
@ -34,4 +34,4 @@
|
|||
</article>
|
||||
<section>
|
||||
{{ partial "recent-articles/main.html" . }}
|
||||
</section>
|
||||
</section>
|
||||
|
|
Loading…
Add table
Reference in a new issue