From 98c04aa1e19e9391a19daf903a024e7ebeaeb36b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sapka?= Date: Mon, 2 Jan 2023 22:15:10 +0100 Subject: feat: blank based on memes --- layouts/_default/list.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 layouts/_default/list.html (limited to 'layouts/_default/list.html') diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 00000000..cc3addd5 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,12 @@ +{{ define "main" }} + {{ range where .Pages "Params.category" "meme"}} +
+ + {{ $imageUrl := .Param "image" }} + {{ $image := resources.Get $imageUrl }} + {{ $image := $image.Resize "350x" }} + {{ .Param + +
+ {{ end }} +{{ end }} -- cgit v1.2.3