Added all theme files
[ghost-theme-willow.git] / partials / share-links.hbs
diff --git a/partials/share-links.hbs b/partials/share-links.hbs
new file mode 100644 (file)
index 0000000..1d0522c
--- /dev/null
@@ -0,0 +1,14 @@
+<a class="share-twitter" href="https://twitter.com/intent/tweet?text={{encode title}}&amp;url={{url absolute="true"}}"
+   onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
+    Share on Twitter |
+</a>
+
+<a class="share-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}"
+   onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
+    Share on Facebook |
+</a>
+
+<a class="share-google-plus" href="https://plus.google.com/share?url={{url absolute="true"}}"
+   onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
+    Share on Google+
+</a>
\ No newline at end of file