site quasi complet

This commit is contained in:
nyanloutre 2020-08-15 19:00:29 +02:00
parent 80b7f7466d
commit 278a68cd9a
17 changed files with 141 additions and 57 deletions

View file

@ -1,13 +1,18 @@
{{ define "main" }}
<section class="section">
<article>
<h1 class="title is-1">{{ .Title }}</h1>
<div class="content">
{{ with .Params.images }}
<figure class="title-image">
<img src="{{ index . 0 }}" alt="">
</figure>
{{ end }}
<div class="content portfolio">
<h1>{{ .Title }}</h1>
<ul>
{{ range .Params.images }}
{{ $img := $.Page.Resources.GetMatch . }}
<li>
<figure>
<img src="{{ $img.RelPermalink }}" alt="">
</figure>
</li>
{{ end }}
</ul>
{{ .Content }}
</div>
</article>