🏗️ Finish post edit widget coding.

This commit is contained in:
凡梦星尘
2022-06-04 10:43:00 +08:00
parent fa5195c8a2
commit 6c362cf117
14 changed files with 30 additions and 21 deletions

View File

@@ -21,7 +21,7 @@
{{- end }}
</li>
<li class="post-copyright-license">
<strong>{{ print (T "PostCRLink") (T "SymbolColon") }} </strong>
<strong>{{ print (T "PostCRLicenseTitle") (T "SymbolColon") }} </strong>
{{- $ccText := .Site.Params.creativeCommons.license | upper }}
{{- $lang := .Scratch.Get "lang" }}
{{- $ccLink := printf "<a target='_blank' href='https://creativecommons.org/licenses/by-nc-sa/4.0/deed.%s'>%s</a>" (substr $lang 0 2) $ccText }}