mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 08:15:44 +00:00
style: prevent empty p tag when there is no copyright (#2271)
This commit is contained in:
1 parent
e9cec2d3e9
commit
bfa3808cb6
1 file changed
+3
-1
@@ -22,9 +22,11 @@
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
{{ with site.Copyright }}
|
||||
<p class="powered-by">
|
||||
{{ with site.Copyright }}{{ replace . "{year}" now.Year | markdownify}}{{ end }}
|
||||
{{ replace . "{year}" now.Year | markdownify }}
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
{{/* Display copyright license. */}}
|
||||
{{ partial "site_footer_license" . }}
|
||||
|
||||
Reference in new issue
Block a user