blob: 63d8260c759ed62b078c51a276317f74f1200a5d1ea4472c7943af78eb5b8448 (
plain)
1
2
3
4
5
6
7
|
{{ define "main" }}
=> ./{{ replaceRE ".+?/" "../" .RelPermalink | safeURL }} Return to homepage
{{ $content := .RawContent }}
{{- $content = $content | replaceRE `\[(.+?)\]\((.+?)\)` "=> $2 $1" }}
{{- $content = $content | replaceRE `\*{3}(.+?)\*{3}|\*{2}(.+?)\*{2}|\*{1}(.+?)\*{1}` "$1$2$3$4$5$6" }}
{{- $content | safeHTML }}{{ end }}
|