fix(footer): Guard post-info-license

Show license information if it is mentioned in the markdown.

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
This commit is contained in:
Khusika Dhamar Gusti
2020-07-22 22:47:44 +07:00
parent f787a4e5ad
commit 8eb46b216d

View File

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