aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/_icons/social-facebook.svg (renamed from src/_icons/facebook.svg)0
-rw-r--r--src/_icons/social-github.svg (renamed from src/_icons/github.svg)0
-rw-r--r--src/_icons/social-google.svg (renamed from src/_icons/google.svg)0
-rw-r--r--src/_icons/social-paypal.svg5
-rw-r--r--src/editor.html10
5 files changed, 15 insertions, 0 deletions
diff --git a/src/_icons/facebook.svg b/src/_icons/social-facebook.svg
index 579aeda7..579aeda7 100644
--- a/src/_icons/facebook.svg
+++ b/src/_icons/social-facebook.svg
diff --git a/src/_icons/github.svg b/src/_icons/social-github.svg
index 399b07c5..399b07c5 100644
--- a/src/_icons/github.svg
+++ b/src/_icons/social-github.svg
diff --git a/src/_icons/google.svg b/src/_icons/social-google.svg
index 9ce8aff3..9ce8aff3 100644
--- a/src/_icons/google.svg
+++ b/src/_icons/social-google.svg
diff --git a/src/_icons/social-paypal.svg b/src/_icons/social-paypal.svg
new file mode 100644
index 00000000..47312102
--- /dev/null
+++ b/src/_icons/social-paypal.svg
@@ -0,0 +1,5 @@
+---
+---
+<svg>
+ <path d="M10 13l2.538-.003c2.46 0 4.962-2.497 4.962-4.997 0-3-1.89-5-4.962-5H7c-.5 0-1 .5-1 1L4 18c0 .5.5 1 1 1h2.846L9 14c.089-.564.43-1 1-1zm7.467-5.837C19.204 8.153 20 10 20 12c0 2.467-2.54 4.505-5 4.505h.021-2.629l-.576 3.65a.998.998 0 01-.988.844l-2.712-.002a.5.5 0 01-.494-.578L7.846 19" />
+</svg>
diff --git a/src/editor.html b/src/editor.html
index 37423d78..3f076728 100644
--- a/src/editor.html
+++ b/src/editor.html
@@ -73,6 +73,16 @@ layout: default
<div class="mb">
{% include toolbar.html toolbar='arrow-back-up,arrow-forward-up,printer,paint|bold,italic,underline,strikethrough,emphasis|align-left,align-center,align-right,align-justified,line-height|list,list-check|link,photo,table|sort-ascending,sort-descending|indent-increase,indent-decrease|subscript,superscript|minus,omega,chart-area-line,pencil|eraser,settings,typography,letter-case,clear-formatting|parentheses,brackets,braces,terminal|github,facebook,twitter,dribbble,google' %}
{% include toolbar.html toolbar='check,checks,x|currency-euro,currency-dollar,currency-bitcoin,currency-pound,currency-rupee,currency-yen|bike,car,bus,truck,forklift,tir,firetruck,ambulance,tractor' %}
+
+ {% assign social-icons = '' %}
+ {% for icon in icons %}
+ {% if icon.slug contains 'social-' %}
+ {% assign social-icons = social-icons | append: icon.slug | append: ',' %}
+ {% endif %}
+ {% endfor %}
+ {% assign size = social-icons | size | minus: 1 %}
+ {% assign social-icons = social-icons | slice: 0, size %}
+ {% include toolbar.html toolbar=social-icons %}
</div>
<h2 class="icon-subtitle">{{ site.icons.size }} icons</h2>