mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
16 lines
591 B
Markdown
16 lines
591 B
Markdown
{{- $params := partial "function/params.html" -}}
|
|
{{- $author := .Store.Get "author" -}}
|
|
# {{ .Title }}
|
|
|
|
{{ if $params.password -}}
|
|
***{{ T "single.encryptedAbstract" }}***
|
|
{{- else -}}
|
|
{{ .RawContent | replaceRE "\n?{{% fixit-encryptor .+ %}}((\n|.)*){{% /fixit-encryptor %}}\n?" "" }}
|
|
{{- end }}
|
|
|
|
---
|
|
|
|
> {{ T "single.author"}}: {{ with $author.link }}[{{ $author.name }}]({{ . }}){{ else }}{{ $author.name }}{{ end }}
|
|
> URL: {{ .Permalink }}
|
|
{{ if $params.repost.enable | and (hasPrefix $params.repost.url "http") }}> {{ T "single.repost" }} URL: {{ $params.repost.url }}{{ end }}
|