mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-09-03 20:22:41 +00:00
15 lines
456 B
Markdown
15 lines
456 B
Markdown
{{- $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 }}
|