2020-09-22 15:35:44 +02:00
|
|
|
{{ define "stylesheet" }}{{ $scss := resources.Get "projects/list.scss" }}{{ $style := $scss | resources.ToCSS }}
|
2020-09-26 17:57:12 +02:00
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}" type="text/css" media="screen" rel="preload" />
|
2020-09-14 16:24:02 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
2020-10-05 09:57:10 +02:00
|
|
|
<main>
|
2020-10-06 21:47:47 +02:00
|
|
|
<section class="section header">
|
|
|
|
<div class="container">
|
2020-10-05 09:57:10 +02:00
|
|
|
<header>
|
|
|
|
<h1>{{ .Params.heading }}</h1>
|
|
|
|
<span class="subtitle">{{.Params.subheading}}</span>
|
|
|
|
</header>
|
2020-10-06 21:47:47 +02:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<div class="container">
|
2020-10-05 09:57:10 +02:00
|
|
|
<section class="section-articles">
|
|
|
|
{{ range .Pages }}
|
|
|
|
<a href="{{ .Permalink }}">
|
|
|
|
<article>
|
|
|
|
<h1>{{ .Title }}</h1>
|
2020-10-06 21:47:47 +02:00
|
|
|
<p class="meta" title="last change: {{ .Date.Format "2 Jan 2006" }}">
|
2020-10-05 09:57:10 +02:00
|
|
|
{{ with .Params.activetime }}<span class="date">{{ . }}</span>{{ end }}
|
|
|
|
{{ with .Params.status }}<span class="status">{{ . }}</span>{{ end }}
|
|
|
|
</p>
|
|
|
|
{{ with .Description }}<p>{{ . }}</p>{{ end }}
|
|
|
|
<img {{ with .Params.featured_image }}src="{{ . | relURL }}"{{ end }} loading="lazy" alt="">
|
|
|
|
</article>
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
</section>
|
|
|
|
</div>
|
2020-09-14 16:24:02 +02:00
|
|
|
</main>
|
|
|
|
{{ end }}
|