include partials if they exist given theme
This commit is contained in:
@@ -21,11 +21,15 @@
|
||||
<div class="copyright">
|
||||
<p>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br>
|
||||
{{ i18n "powered" | humanize }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/mitrichius/hugo-theme-anubis">Anubis</a>.<br>
|
||||
</p>
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{{ partial "theme-switcher.html" . }}
|
||||
{{ if templates.Exists "partials/theme-switcher.html" }}
|
||||
{{ partial "theme-switcher.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ partial "h-card.html" . }}
|
||||
{{ if templates.Exists "partials/h-card.html" }}
|
||||
{{ partial "h-card.html" . }}
|
||||
{{ end }}
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user