From a4106b2b0e2bd73bda5a7ecc22659c0920d56ade Mon Sep 17 00:00:00 2001 From: Nantha Sorubakanthan Date: Sat, 18 Oct 2025 16:45:59 +0200 Subject: rework website --- layouts/_default/baseof.html | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index add4e17..6f4f5b0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,19 +1,51 @@ - + - {{ partial "head.html" . }} + + + + {{ if .IsHome }}{{ site.Title }}{{ else }}{{ .Title }}{{ end }} + + + + + + {{ $images := .Page.Resources.ByType "image" }} + {{ with index $images 0 }} + {{ $processed := .Resize "600x" }} + {{ $processed := $processed.Crop "512x512" }} + + {{ end }}
- {{ partial "header.html" . }} +

{{ if .IsHome }}{{ site.Title }}

{{ else }}{{ .Title }} + {{ end }} +
{{ block "main" . }}{{ end }}
-- cgit v1.2.3