Skip to content

Commit b983a81

Browse files
committed
feat: add the hb.footer.site_description and hb.footer.site_copyright parameters
1 parent ea7a070 commit b983a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/partials/hb/modules/footer/site-info.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
{{- partial "hugopress/functions/render-hooks" (dict "Name" "hb-footer-site-info-begin" "Page" .) }}
33
<div class="h5">{{ default site.Title site.Params.hb.footer.site_title }}</div>
44
<ul class="list-unstyled small mb-2">
5-
{{- with .Site.Params.description }}
5+
{{- with default .Site.Params.description site.Params.hb.footer.site_description }}
66
<li class="mt-2">{{ . }}</li>
77
{{- end }}
8-
{{- with .Site.Copyright }}
8+
{{- with default .Site.Copyright site.Params.hb.footer.site_copyright }}
99
<li class="mt-2">
1010
{{- replace . "{year}" now.Year | markdownify -}}
1111
</li>

0 commit comments

Comments
 (0)