aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/toolbar.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/_includes/toolbar.html')
-rw-r--r--src/_includes/toolbar.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/_includes/toolbar.html b/src/_includes/toolbar.html
new file mode 100644
index 0000000..afca900
--- /dev/null
+++ b/src/_includes/toolbar.html
@@ -0,0 +1,12 @@
+{% assign toolbar = include.toolbar | split: '|' %}
+
+<div class="toolbar">
+ {% for group in toolbar %}
+ {% assign buttons = group | split: ',' %}
+ <div class="buttons">
+ {% for button in buttons %}
+ <div class="button js-icon" data-icon="{{ button }}">{% include icon.html name=button %}</div>
+ {% endfor %}
+ </div>
+ {% endfor %}
+</div>