{{include "header.html"}}
{{include "nav.html"}}
{{include "list-hero.html"}}
<section class="section">
  {{if .List}}
  <div class="wrap article-list">
    {{range .List}}
    <article class="news-row">
      {{if .Img}}<a href="{{.URL}}" class="news-img"><img src="{{.Img}}" alt="{{.Title}}"></a>{{end}}
      <div>
        <p class="eyebrow">{{.ColumnName}} · {{ParseTime .CreatedAt "2006-01-02"}}</p>
        <h2><a href="{{.URL}}">{{.Title}}</a></h2>
        <p>{{.Description}}</p>
        <div class="tag-list">{{range .Tags}}<a href="{{.URL}}">{{.Name}}</a>{{end}}</div>
      </div>
    </article>
    {{end}}
  </div>
  {{else}}<div class="wrap empty-state">暂无内容。</div>{{end}}
  <div class="wrap">{{include "pager.html"}}</div>
</section>
{{include "footer.html"}}
{{include "js.html"}}
