{{ define "main" }}
<article class="container feature-article">
  <div class="row justify-content-center">
    <div class="col-9">

      <header class="feature-hero">
        <h1>{{ .Title }}</h1>
        {{ with .Params.summary }}<p class="lead">{{ . }}</p>{{ end }}
      </header>

      <!-- TOC  -->
      <!-- {{ if .TableOfContents }}
      <nav class="toc">
        <p class="toc-title">目錄</p>
        {{ .TableOfContents }}
      </nav>
      {{ end }} -->

      <div class="feature-body">
        {{ .Content }}
      </div>
    </div>

    <a href="javascript:;" onclick="historyBack()" class="back-link my-5">
      <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left mb-1"
        viewBox="0 0 16 16">
        <path fill-rule="evenodd"
          d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z" />
      </svg>
      <span>回到上一頁</span>
    </a>
  </div>

</article>
{{ end }}