🎉 Hello World
This commit is contained in:
12
layouts/partials/article-license.html
Normal file
12
layouts/partials/article-license.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- $license := "" -}}
|
||||
{{- if and (isset .Params "license") (ne .Params.license "") -}}
|
||||
{{- $license = .Params.license -}}
|
||||
{{- else if and (isset site.Params "license") (ne site.Params.license "") -}}
|
||||
{{- $license = site.Params.license -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if ne $license "" -}}
|
||||
<section class="article license">
|
||||
LICENSE : {{- $license | safeHTML -}}
|
||||
</section>
|
||||
{{- end -}}
|
Reference in New Issue
Block a user