From e97a586164c7fedcc7a10163bee0ff7dd8efc407 Mon Sep 17 00:00:00 2001 From: sujaykundu777 Date: Sun, 24 May 2020 15:25:14 +0530 Subject: [PATCH 1/3] adding share buttons --- _includes/blog_post_article.html | 5 ++++- _includes/head.html | 2 +- _includes/share_page.html | 6 ++++++ _sass/devlopr.scss | 20 ++++++++++++++++++++ 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 _includes/share_page.html diff --git a/_includes/blog_post_article.html b/_includes/blog_post_article.html index f8f1d1e091320..787a50a155dd3 100644 --- a/_includes/blog_post_article.html +++ b/_includes/blog_post_article.html @@ -35,8 +35,9 @@

{{ page.summary }}



{{ content }} +
+ {%- include share_page.html -%} - {%- if site.hyvor_talk_website_id -%}
{%- include hyvor_comments.html -%} @@ -45,4 +46,6 @@ + + diff --git a/_includes/head.html b/_includes/head.html index a6608d3fc7239..fec3f287ea6eb 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -35,7 +35,7 @@ {% endif %} {% if page.image %} - + {% endif %} {% if page.categories %} diff --git a/_includes/share_page.html b/_includes/share_page.html new file mode 100644 index 0000000000000..bae52c636deb2 --- /dev/null +++ b/_includes/share_page.html @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/_sass/devlopr.scss b/_sass/devlopr.scss index a51265bd62744..35a81041db455 100644 --- a/_sass/devlopr.scss +++ b/_sass/devlopr.scss @@ -392,6 +392,26 @@ header { float:left; } +/* Share page buttons */ +.share-page { + text-align: center; + background: var(--button-background-color); + color: #111; + padding: 8px 15px; + border-radius: 5px; + margin: 1.5 * 1 * 0; + + a { + font-weight: 700; + color: #fff; + margin-left: 10px; + + &:hover { + border-bottom: 1px dashed #fff; + } + } +} + /* floating btn for buy me coffee */ #bmc-wbtn{ bottom: 40px !important; From 1e495d509f36712704c0e4ec7f5f1e2284c87170 Mon Sep 17 00:00:00 2001 From: sujaykundu777 Date: Sun, 24 May 2020 16:15:10 +0530 Subject: [PATCH 2/3] removing icons --- _includes/share_page.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/share_page.html b/_includes/share_page.html index bae52c636deb2..270c84228efe1 100644 --- a/_includes/share_page.html +++ b/_includes/share_page.html @@ -1,6 +1,6 @@ \ No newline at end of file From 34aaefe7e7c39fe41bf314d4cc5f0a876c04cab4 Mon Sep 17 00:00:00 2001 From: sujaykundu777 Date: Sun, 24 May 2020 22:57:18 +0530 Subject: [PATCH 3/3] adding social icons --- _includes/share_page.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/share_page.html b/_includes/share_page.html index 270c84228efe1..c5a54c18a2f0f 100644 --- a/_includes/share_page.html +++ b/_includes/share_page.html @@ -1,6 +1,6 @@ \ No newline at end of file