mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-18 22:12:45 +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>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with site.Copyright }}
|
||||||
<p class="powered-by">
|
<p class="powered-by">
|
||||||
{{ with site.Copyright }}{{ replace . "{year}" now.Year | markdownify}}{{ end }}
|
{{ replace . "{year}" now.Year | markdownify }}
|
||||||
</p>
|
</p>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{/* Display copyright license. */}}
|
{{/* Display copyright license. */}}
|
||||||
{{ partial "site_footer_license" . }}
|
{{ partial "site_footer_license" . }}
|
||||||
|
|||||||
Reference in new issue
Block a user