Draw the rest of the fucking owl

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-05 21:46:57 +02:00
parent 455372e75c
commit 1f49f0ee88
22 changed files with 544 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
<div class="image-grid">
{{ partial "gallery.html" . }}
</div>
{{ end }}

View File

@@ -0,0 +1,18 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
<div>
{{ .Date | time.Format ":date_medium" }}
</div>
{{ if and (isset .Params "image") .Params.image }}
{{ $image := .Page.Resources.GetMatch .Params.image }}
{{ with $image }}
{{ $thumb := .Resize "1000x" }}
{{ printf `<img src="%s" alt="%s" class="img-responsive gallery-image">` $thumb.RelPermalink .Title | safeHTML }}
{{ end }}
{{ end }}
{{ .Content }}
{{ partial "comments.html" . }}
{{ end }}