mirror of
https://github.com/yuzu-emu/yuzu-emu.github.io.git
synced 2025-06-30 14:50:08 +00:00
Updated homepage to display two blog posts + two tweets.
This commit is contained in:
parent
6d765ffd2a
commit
53ccbab040
|
@ -43,14 +43,18 @@
|
|||
|
||||
{{ define "main" }}
|
||||
<section class="section">
|
||||
{{ $pag := .Paginate (where .Data.Pages "Type" "entry") 4 }}
|
||||
|
||||
<div class="columns is-multiline">
|
||||
{{ range $pag.Pages }}
|
||||
{{ range first 2 (where (where .Data.Pages ".Params.twitter" "==" nil) "Type" "entry") }}
|
||||
<div class="column is-half">
|
||||
{{ partial "entry/summary" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ range first 2 (where (where .Data.Pages ".Params.twitter" "!=" nil) "Type" "entry") }}
|
||||
<div class="column is-half">
|
||||
{{ partial "entry/summary" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<div class="has-text-centered">
|
||||
|
|
Loading…
Reference in a new issue