summaryrefslogtreecommitdiff
path: root/.zs/components/buttons.jq
diff options
context:
space:
mode:
Diffstat (limited to '.zs/components/buttons.jq')
-rw-r--r--.zs/components/buttons.jq3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zs/components/buttons.jq b/.zs/components/buttons.jq
new file mode 100644
index 0000000..3d52602
--- /dev/null
+++ b/.zs/components/buttons.jq
@@ -0,0 +1,3 @@
+include ".zs/components/get_filename";
+
+map("<a href=\"\(.link)\"><img src=\"\($BUTTONS_DIR + (. | filename))\" alt=\"An 88x31 button. \(.alt)\" title=\"\(.title)\"></a>") | join("\n")