Merge remote-tracking branch 'upstream/master'

This commit is contained in:
horochx
2020-03-10 22:26:40 +08:00
12 changed files with 1452 additions and 1225 deletions

View File

@ -28,7 +28,11 @@
{{ end }}
<div class="post-content">
{{ .Content }}
{{- with .Content -}}
<div>
{{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}<a href="#${2}" class="hanchor" ariaLabel="Anchor">&#8983;</a> ${3}` | safeHTML }}
</div>
{{- end -}}
</div>
{{ if $.Site.Params.showLastUpdated }}
<div class="post-lastmod">