summaryrefslogtreecommitdiff
path: root/layouts/featured.html
blob: 284269073bf60094c7c8770884400f8553f4b358 (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 where site.RegularPages "Params.featured" true }}
            {{ partial "items/post" (dict "ctx" . ) }}
            {{ end }}
          </div>
      </section>
    </article>
{{ partial "footer.html" . }}
{{ end }}