aboutsummaryrefslogtreecommitdiff
path: root/src/_includes
diff options
context:
space:
mode:
Diffstat (limited to 'src/_includes')
-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 00000000..afca9005
--- /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>