summaryrefslogtreecommitdiffstats
path: root/partials/_picture.p
diff options
context:
space:
mode:
Diffstat (limited to 'partials/_picture.p')
-rw-r--r--partials/_picture.p14
1 files changed, 0 insertions, 14 deletions
diff --git a/partials/_picture.p b/partials/_picture.p
deleted file mode 100644
index cdd1baf..0000000
--- a/partials/_picture.p
+++ /dev/null
@@ -1,14 +0,0 @@
-@picture[images;default_type;.alt;.class;.role;.height]
-<picture>
- ^images.foreach[type;srcset]{
- <source srcset="$srcset" type="$type">
- }
- <img
- src="$images.[$default_type]"
- ^if(def $alt){alt="$alt"}
- ^if(def $class){class="$class"}
- ^if(def $role){role="$role"}
- ^if(def $height){height="$height"}
- >
-</picture>
-#end @picture[]