Jacky Zhao
2023-02-05 7df2bb6f5e681ce3329e4faf6ac6cbcda7a3f14e
layouts/_default/single.html
@@ -10,12 +10,19 @@
    <article>
      {{if .Title}}<h1>{{ .Title }}</h1>{{end}}
      <p class="meta">
          Last updated {{ partial "date-fmt.html" .}}
        {{ i18n "last_updated" }} {{ partial "date-fmt.html" .}}
          {{ partial "github.html" . }}
      </p>
      <ul class="tags">
          {{ range (.GetTerms "tags") }}
          <li><a href="{{ .Permalink }}">{{ .LinkTitle | humanize }}</a></li>
          <li><a href="{{ .Permalink }}">
          {{if (eq $.Site.Language.Lang "en")}}
            {{ .LinkTitle | humanize }}
          {{else}}
            {{ .LinkTitle }}
          {{end}}
            </a>
           </li>
          {{ end }}
      </ul>
      {{partial "toc.html" .}}
@@ -24,5 +31,4 @@
    {{partial "footer.html" .}}
</div>
</body>
</html>