Merge pull request #544 from khusika/footer-fix

fix(footer): Guard post-info-license
This commit is contained in:
Dillon 2022-05-02 17:14:50 +08:00 committed by GitHub
commit 0ec591b4ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,13 +17,13 @@
{{- end -}}
</span>
</div>
{{- with $params.license | string -}}
<div class="post-info-license">
{{- with $params.license | string -}}
<span>
{{- . | safeHTML -}}
</span>
{{- end -}}
<span>
{{- . | safeHTML -}}
</span>
</div>
{{- end -}}
</div>
<div class="post-info-line">
<div class="post-info-md">