Files
FixIt/layouts/_default/single.md
T
2022-07-30 17:11:43 +08:00

456 B

{{- $params := .Scratch.Get "params" -}}

{{ .Title }}

{{ if $params.password -}} {{ T "encryptedAbstract" }} {{- else -}} {{ .RawContent | replaceRE "\n?{{% fixit-encryptor .+ %}}((\n|.)*){{% /fixit-encryptor %}}\n?" "" }} {{- end }}


{{ T "author"}}: {{ .Site.Author.name }}
URL: {{ .Permalink }}
{{ if $params.repost.enable | and (hasPrefix $params.repost.url "http") }}> {{ T "repost" }} URL: {{ $params.repost.url }}{{ end }}