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