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

      <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 }}