mirror of
https://github.com/yuzu-emu/yuzu-emu.github.io.git
synced 2025-07-01 07:08:43 +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" }}
|
{{ define "main" }}
|
||||||
<section class="section">
|
<section class="section">
|
||||||
{{ $pag := .Paginate (where .Data.Pages "Type" "entry") 4 }}
|
|
||||||
|
|
||||||
<div class="columns is-multiline">
|
<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">
|
<div class="column is-half">
|
||||||
{{ partial "entry/summary" . }}
|
{{ partial "entry/summary" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="has-text-centered">
|
<div class="has-text-centered">
|
||||||
|
|
Loading…
Reference in a new issue