mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 22:14:08 +00:00
refactor(baseof): added site_footer partial to replace multiple footer partials
This commit is contained in:
1 parent
d263439e74
commit
ddba3fee2b
1 file changed
+29
@@ -0,0 +1,29 @@
|
||||
<div class="container">
|
||||
<footer class="site-footer">
|
||||
{{ with site.GetPage "privacy.md" }}
|
||||
<p class="powered-by">
|
||||
{{ printf "<a href=\"%s\">%s</a>" .RelPermalink .Title | safeHTML }}
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
<p class="powered-by">
|
||||
{{ with site.Copyright }}{{ replace . "{year}" now.Year | markdownify}} · {{ end }}
|
||||
|
||||
Powered by the
|
||||
<a href="https://sourcethemes.com/academic/" target="_blank" rel="noopener">Academic theme</a> for
|
||||
<a href="https://gohugo.io" target="_blank" rel="noopener">Hugo</a>.
|
||||
|
||||
{{ if ne .Type "docs" }}
|
||||
<span class="float-right" aria-hidden="true">
|
||||
<a href="#" id="back_to_top">
|
||||
<span class="button_icon">
|
||||
<i class="fas fa-chevron-up fa-2x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
{{ partial "citation.html" . }}
|
||||
Reference in new issue
Block a user