13 lines
604 B
Text
13 lines
604 B
Text
# {{ .Title }}
|
|
|
|
{{ $content := .RawContent -}}
|
|
{{ $content := $content | replaceRE `{{<\s*(?:rel)?ref\s+"([^"]+)"\s*>}}` "$1" -}}
|
|
{{ $content := $content | replaceRE `{{<\s*figure\s*(?:.*)?src="([^"]+)"(?:.*)?caption="([^"]+)"(?:.*)?>}}` "" -}}
|
|
{{ $content := $content | replaceRE `{{<\s*image\s*.*?src="([^"]+)".*?>}}` "" -}}
|
|
{{ $content := $content | replaceRE `\!\[(.+?)\]\((.+?)\)` "=> $2 Image: $1" -}}
|
|
|
|
{{ $content }}
|
|
|
|
{{ if .Next }}=> {{ .Next.RelPermalink }} ← Newer: {{ .Next.Title }}{{ end }}
|
|
{{ if .Prev -}}=> {{ .Prev.RelPermalink }} → Older: {{ .Prev.Title }}{{- end }}
|
|
|