summaryrefslogtreecommitdiff
path: root/layouts/_default/uncategorized.html
blob: 44dd79f5b10fc46487d4b194f175a8b6bdadf663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{ define "main" }}
<article class="taxonomy">
  {{ partial "components/post-page-header.html" . }}
  {{ partial "components/breadcrumbs.html" . }}
  <div class="post-content">
      <!-- Uncategorized -->
      {{ $uncategorized := where (where .Site.RegularPages "Section" "posts") "Params.categories" "==" nil }}
      {{ if $uncategorized }}
        <section class="uncategorized-posts">
          <ol>
            {{ range $uncategorized }}
              <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
            {{ end }}
          </ol>
        </section>
      {{ end }}
  </div>
</article>
{{ partial "footer.html" . }}
{{ end }}