initial commit

This commit is contained in:
Colmaris 2025-02-08 12:54:13 +01:00
commit a6261020ee
130 changed files with 3179 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{{ define "main" }}
<h1>{{ .Page.Title }}</h1>
{{ .Content }}
<div class="image-grid">
{{ range sort .Data.Pages "Date" "desc" }}
{{ if and (isset .Params "image") .Params.image }}
<a href="{{ .Permalink }}" title="{{ .Title }}">
{{ $image := .Page.Resources.GetMatch .Params.image }}
{{ with $image }}
{{ $thumb := .Resize "400x" }}
<img src="{{ $thumb.RelPermalink }}" alt="{{ .Title }}" class="img-responsive">
{{end}}
</a>
{{ end }}
{{ end }}
</div>
{{ end }}