From 8e68edef638f205021d7485891df13ae5d43b9b1 Mon Sep 17 00:00:00 2001 From: mms Date: Tue, 7 May 2024 17:20:54 +0200 Subject: feat: looker --- layouts/partials/homepage/nav.html | 93 +++++++++++++++++++++++++------------- 1 file changed, 62 insertions(+), 31 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/homepage/nav.html b/layouts/partials/homepage/nav.html index b0e500f..7a4a4bc 100644 --- a/layouts/partials/homepage/nav.html +++ b/layouts/partials/homepage/nav.html @@ -6,16 +6,12 @@ It's not dedicated to one thing, but rather it's about a few things that interest me. Below you can find sections which I would describe as online books. Brain Rots describe movies, books and games. - BSD and Emacs are quite self-explanatory. - I take special fondness of Star Trek so it is a section of its own. - I also have a dedicated blog, but this site is not a blog. - -{{- $file := "me.png" }} -{{- $path := printf "content_images/%s" $file}} -{{- $img := resources.Get $path }} -{{- $img1x := $img.Resize "150x webp" }} -{{- $img2x := $img.Resize "300x webp" }} - + + {{- $file := "me.png" }} + {{- $path := printf "content_images/%s" $file}} + {{- $img := resources.Get $path }} + {{- $img1x := $img.Resize "150x webp" }} + {{- $img2x := $img.Resize "300x webp" }} Michal -{{- $file := "me-grim.png" }} -{{- $path := printf "content_images/%s" $file}} -{{- $img := resources.Get $path }} -{{- $img1x := $img.Resize "150x webp" }} -{{- $img2x := $img.Resize "300x webp" }} + {{- $file := "me-grim.png" }} + {{- $path := printf "content_images/%s" $file}} + {{- $img := resources.Get $path }} + {{- $img1x := $img.Resize "150x webp" }} + {{- $img2x := $img.Resize "300x webp" }} Grimacing michal -{{- $file := "me-pain.png" }} -{{- $path := printf "content_images/%s" $file}} -{{- $img := resources.Get $path }} -{{- $img1x := $img.Resize "150x webp" }} -{{- $img2x := $img.Resize "300x webp" }} + {{- $file := "me-pain.png" }} + {{- $path := printf "content_images/%s" $file}} + {{- $img := resources.Get $path }} + {{- $img1x := $img.Resize "150x webp" }} + {{- $img2x := $img.Resize "300x webp" }} Michal full of pain + BSD and Emacs are quite self-explanatory. + I take special fondness of Star Trek so it is a section of its own. + I also have a dedicated blog, but this site is not a blog. + {{ partial "menu.html" (dict "menuID" "main-nav" "page" .) }} -- cgit v1.2.3