diff --git a/_data/share.yml b/_data/share.yml new file mode 100644 index 0000000..a48b54d --- /dev/null +++ b/_data/share.yml @@ -0,0 +1,29 @@ +# Sharing options at the bottom of the post. +# Icons from +# +# v2.1 +# https://github.com/cotes2020/jekyll-theme-chirpy +# © 2020 Cotes Chung +# MIT Licensed + +label: "Share" + +platforms: + - + type: Twitter + icon: "fab fa-twitter" + link: "https://twitter.com/intent/tweet?text=TITLE&url=URL" + - + type: Facebook + icon: "fab fa-facebook-square" + link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL" + - + type: Telegram + icon: "fab fa-telegram" + link: "https://telegram.me/share?text=TITLE&url=URL" + + # Uncomment below if you need to. + # - + # type: Weibo + # icon: "fab fa-weibo" + # link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL" diff --git a/_includes/post-nav.html b/_includes/post-nav.html new file mode 100644 index 0000000..a0744b6 --- /dev/null +++ b/_includes/post-nav.html @@ -0,0 +1,28 @@ + + +
+ {% if page.previous.url %} + +

{{ page.previous.title }}

+ {% else %} +
+

-

+ {% endif %} +
+ + {% if page.next.url %} + +

{{ page.next.title }}

+ {% else %} +
+

-

+ {% endif %} +
+
\ No newline at end of file diff --git a/_includes/post-sharing.html b/_includes/post-sharing.html new file mode 100644 index 0000000..808e67d --- /dev/null +++ b/_includes/post-sharing.html @@ -0,0 +1,28 @@ + + +
+ + +
\ No newline at end of file diff --git a/_includes/related-posts.html b/_includes/related-posts.html index 1137122..bb67ded 100644 --- a/_includes/related-posts.html +++ b/_includes/related-posts.html @@ -43,7 +43,7 @@ {% assign score_list = score_list | sort | reverse %} {% assign count = 0 %}