| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- {{ define "main" }}
- {{ .Scratch.Set "asBanner" "true" }}
- {{ $filter := slice "showcase" }}
- {{ range first 1 (shuffle (where .Site.Pages "Params.tags" "intersect" $filter ) ) }}
- {{ partial "showcaseBanner.html" . }}
- {{ end }}
- <section class="list vlist responsive responsiveWidth">
- {{ $filter := slice "devlog" }}
- {{ $pages := (where .Site.Pages "Params.tags" "intersect" $filter )}}
- {{ range first 1 $pages }}
- {{ partial "articlePreview.html" . }}
- {{ end }}
- </section>
- <a class="more responsiveWidth" href="tags/devlog">More development updates...</a>
- <section class="list vlist responsive responsiveWidth">
- {{ $filter := slice "communitylog" }}
- {{ $pages := (where .Site.Pages "Params.tags" "intersect" $filter )}}
- {{ range first 1 $pages }}
- {{ partial "articlePreview.html" . }}
- {{ end }}
- </section>
- <a class="more responsiveWidth" href="tags/communitylog">More community updates...</a>
- <section class="list vlist responsive responsiveWidth">
- {{ $filter := slice "misc" }}
- {{ $pages := (where .Site.Pages "Params.tags" "intersect" $filter )}}
- {{ range first 1 $pages }}
- {{ partial "articlePreview.html" . }}
- {{ end }}
-
- </section>
- <ul class="more responsiveWidth">
- {{ $pages := (where .Site.Pages "Params.tags" "intersect" $filter )}}
- {{ range first 3 ( after 1 $pages ) }}
- <li>
- <a href="{{ .RelPermalink }}">
- {{ if .Params.summarytitle }}
- {{ .Params.summarytitle }}
- {{ else }}
- {{ if .Title }} {{ .Title }} {{ end }}
- {{ end }}
- ...
- </a>
- </li>
- {{ end }}
-
- <li><a href="tags/blog">More from the blog...</a></li>
- </ul>
- {{ partial "features.html" . }}
- {{ partial "contribute.html" . }}
- {{ end }}
|