Blake Allen
2021-10-23 776ef084c9c98163f96cce62621cb8b0cf59bbdd
layouts/_default/single.html
@@ -1,3 +1,6 @@
{{$content := replaceRE `a href="\.\.\/(.+%20.+)+"` `$1` .Content}}
{{$content = replace $content "%20" "-"}}
{{$content = $content | safeHTML}}
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
@@ -19,7 +22,7 @@
            {{ .TableOfContents }}
        </aside>
        {{end}}
        {{- .Content -}}
        {{- $content -}}
    </article>
    {{partial "footer.html" .}}
</div>