Compare commits

...

5 Commits

4 changed files with 7 additions and 15 deletions

View File

@ -22,11 +22,6 @@
{{ if eq (mod $index 4) 2 }}{{ partial "box.html" $page }}{{ end }}
{{ end }}
</div>
<div class="column">
{{ range $index, $page := .Pages }}
{{ if eq (mod $index 4) 3 }}{{ partial "box.html" $page }}{{ end }}
{{ end }}
</div>
</div>
</div>
</section>

View File

@ -2,12 +2,14 @@
<div class="section">
<article class="container">
<header>
<div class="is-flex">
{{ with .Params.featured_image }}
<figure class="image is-96x96" style="margin-right: 0.5em;">
<img alt="{{ . }}" class="is-rounded" src="{{ . }}" />
<center>
<figure class="image is-128x128">
<img alt="{{ . }}" src="{{ . }}" />
</figure>
</center>
{{ end }}
<div class="is-flex">
<div>
<h1 class="title is-1">
{{ .Title }}

View File

@ -27,11 +27,6 @@
{{ if eq (mod $index 4) 2 }}{{ partial "box.html" $page }}{{ end }}
{{ end }}
</div>
<div class="column">
{{ range $index, $page := .Site.RegularPages }}
{{ if eq (mod $index 4) 3 }}{{ partial "box.html" $page }}{{ end }}
{{ end }}
</div>
</div>
</div>
</section>

View File

@ -1,8 +1,8 @@
<a class="box" href="{{ .Permalink }}" aria-label="{{ .Title }}">
<div class="is-flex">
{{ with .Params.featured_image }}
<figure class="image is-48x48" style="margin-right: 0.5em;">
<img alt="{{ . }}" class="is-rounded" src="{{ . }}" />
<figure class="image is-128x128" style="margin-right: 0.5em;">
<img alt="{{ . }}" src="{{ . }}" />
</figure>
{{ end }}
<div>