17 lines
694 B
Text
17 lines
694 B
Text
|
# {{ .Title }}
|
||
|
|
||
|
{{ $content := .RawContent -}}
|
||
|
{{ $content := $content | replaceRE "\\*(.+?)\\*" "$1" -}}
|
||
|
{{ $content := $content | replaceRE "`(.+?)`" "$1" -}}
|
||
|
{{ $content := $content | replaceRE "`" "```*(.+?)" -}}
|
||
|
{{- $content = $content | replaceRE `\!\[(.+?)\]\((.+?)\)` "=> $2 Image: $1" }}
|
||
|
{{- range findRE `\[.+?\]\(.+?\)` $content }}
|
||
|
{{- $content = $content | replaceRE `\[(.+?)\]\((.+?)\)(.+)` "$1$3\n\n=> $2 $1 " }}
|
||
|
{{- end }}
|
||
|
{{ $content }}
|
||
|
|
||
|
# Навигация
|
||
|
|
||
|
{{ if .Next }}=> {{ replace .Next.Permalink "/gemini" "" 1}} ← Дальше: {{ .Next.Title }}{{ end }}
|
||
|
{{ if .Prev -}}=> {{ replace .Prev.Permalink "/gemini" "" 1}} → Раньше: {{ .Prev.Title }}{{- end }}
|