Compare commits
5 Commits
9a2e16495c
...
42ef203c9d
Author | SHA1 | Date |
---|---|---|
Rico Ullmann | 42ef203c9d | |
Rico Ullmann | 35adc986da | |
Rico Ullmann | 263565620a | |
Rico Ullmann | 78da162dcb | |
Rico Ullmann | 84d4a46d1e |
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue