{{ define "main" }}
<article class="card article">
  <p class="meta"><a href="{{ .CurrentSection.RelPermalink }}">← 返回 {{ .CurrentSection.Title }}</a></p>
  <h1>{{ .Title }}</h1>
  <p class="meta">{{ .Date.Format "2006-01-02 15:04" }}</p>
  {{ with .Params.tags }}
    <p class="tags">
      {{ range . }}<a class="tag" href="{{ "/tags/" | relURL }}{{ . | urlize }}/#{{ . }}">{{ . }}</a>{{ end }}
    </p>
  {{ end }}
  <div class="prose">{{ .Content }}</div>
</article>
{{ end }}
