Aiden Bai
2022-05-03 e4cc625c33ecd2992dcf60f408417c3067b4fa2b
layouts/_default/single.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="{{ .Lang }}">
{{ partial "head.html" . }}
<body>
@@ -14,13 +14,16 @@
  </header>
  <article>
      {{if .Title}}<h1>{{ .Title }}</h1>{{end}}
      {{if $.Site.Data.config.enableToc}}
      <aside class="mainTOC">
          <h3>Table of Contents</h3>
          {{ .TableOfContents }}
      </aside>
      {{end}}
      {{.Content}}
      <p class="meta">
          Last updated {{if ne .Date .Lastmod}}{{ .Lastmod.Format "January 2, 2006" }}{{else}}Unknown{{end}}
      </p>
      <ul class="tags">
          {{ range (.GetTerms "tags") }}
          <li><a href="{{ .Permalink }}">{{ .LinkTitle | humanize }}</a></li>
          {{ end }}
      </ul>
      {{partial "toc.html" .}}
      {{partial "textprocessing.html" . }}
    </article>
    {{partial "footer.html" .}}
</div>