summaryrefslogtreecommitdiff
path: root/layouts/_default/list.txt
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.txt')
-rw-r--r--layouts/_default/list.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/list.txt b/layouts/_default/list.txt
new file mode 100644
index 00000000..047ea33a
--- /dev/null
+++ b/layouts/_default/list.txt
@@ -0,0 +1,5 @@
+{{- range where .Pages "Params.category" "meme"}}
+ {{- $imageUrl := .Param "image" }}
+ {{- $image := resources.Get $imageUrl }}
+ {{- $image.Permalink }}
+{{ end }}