mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-05-20 01:51: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>
|
</p>
|
||||||
{{ end }}
|
{{ 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 */}}
|
{{/* Theme attribution */}}
|
||||||
{{ if .Site.Params.footer.showThemeAttribution | default true }}
|
{{ if .Site.Params.footer.showThemeAttribution | default true }}
|
||||||
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
||||||
|
@ -65,4 +73,4 @@
|
||||||
{{ if templates.Exists "partials/extend-footer.html" }}
|
{{ if templates.Exists "partials/extend-footer.html" }}
|
||||||
{{ partialCached "extend-footer.html" . }}
|
{{ partialCached "extend-footer.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -112,6 +112,9 @@
|
||||||
<link href="{{ $url }}" rel="me" />{{ end }}
|
<link href="{{ $url }}" rel="me" />{{ end }}
|
||||||
{{ end }}
|
{{ 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 */}}
|
{{/* Vendor */}}
|
||||||
{{ partial "vendor.html" . }}
|
{{ partial "vendor.html" . }}
|
||||||
{{/* Analytics */}}
|
{{/* Analytics */}}
|
||||||
|
|
|
@ -34,4 +34,4 @@
|
||||||
</article>
|
</article>
|
||||||
<section>
|
<section>
|
||||||
{{ partial "recent-articles/main.html" . }}
|
{{ partial "recent-articles/main.html" . }}
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Add table
Reference in a new issue