From 92f4799f50c94f2de1d3d94b0fb20ff6d93614eb Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Sat, 26 Oct 2019 15:27:12 -0400 Subject: Added FB social sharing link to posts. --- _includes/social-share-fb.liquid | 19 +++++++++++++++++++ _includes/social-share.liquid | 14 ++++++++++++++ _layouts/post.liquid | 7 ++++++- 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 _includes/social-share-fb.liquid create mode 100644 _includes/social-share.liquid diff --git a/_includes/social-share-fb.liquid b/_includes/social-share-fb.liquid new file mode 100644 index 0000000..843e511 --- /dev/null +++ b/_includes/social-share-fb.liquid @@ -0,0 +1,19 @@ +
+ + +{% assign link = "https://53hor.net/" | append: page.permalink | escape %} + +
+ + Share to Facebook + +
diff --git a/_includes/social-share.liquid b/_includes/social-share.liquid new file mode 100644 index 0000000..acbf29d --- /dev/null +++ b/_includes/social-share.liquid @@ -0,0 +1,14 @@ + + + diff --git a/_layouts/post.liquid b/_layouts/post.liquid index a23d51f..ca9bf8c 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -60,7 +60,12 @@
- {% include posts-similar.liquid %} +
+ {% include social-share.liquid %} +
+
+ {% include posts-similar.liquid %} +
-- cgit v1.2.3