summaryrefslogtreecommitdiff
path: root/layouts/featured.html
blob: 75fba67e8c1718b0c844a63f4b60c5d37434f6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{ define "main" }}
    <article>
      {{ partial "header" . }}

      <div class="markdown-content" style="line-height: 2">
          {{ .Content }}
      </div>

      <section id="featured-posts">
          <div class="posts-list">
            {{ range .Site.Taxonomies.tags.精选 }}
            {{ partial "items/post" (dict "ctx" . ) }}
            {{ end }}
          </div>
      </section>
    </article>
{{ partial "footer.html" . }}
{{ end }}