2 blog posts, 4 tweets. Blog posts should be isolated from tweets.

This commit is contained in:
Chris 2018-07-10 23:03:20 -04:00
parent 53ccbab040
commit e031c32d30

View file

@ -43,14 +43,16 @@
{{ define "main" }}
<section class="section">
<div class="columns is-multiline">
<div class="columns">
{{ range first 2 (where (where .Data.Pages ".Params.twitter" "==" nil) "Type" "entry") }}
<div class="column is-half">
{{ partial "entry/summary" . }}
</div>
{{ end }}
</div>
{{ range first 2 (where (where .Data.Pages ".Params.twitter" "!=" nil) "Type" "entry") }}
<div class="columns is-multiline">
{{ range first 4 (where (where .Data.Pages ".Params.twitter" "!=" nil) "Type" "entry") }}
<div class="column is-half">
{{ partial "entry/summary" . }}
</div>