diff --git a/_config.yml b/_config.yml index 88e502979..470bff5f2 100755 --- a/_config.yml +++ b/_config.yml @@ -26,6 +26,9 @@ background-img: "/img/intro-bg.jpg" me-img: "/img/me.jpg" # Blog variables +paginate: 15 + +paginate_path: "blog/page:num" post-preview-words: 128 @@ -65,9 +68,9 @@ social: - title: "github" url: "https://github.com/PanosSakkos" - title: "linkedin" - url: "https://no.linkedin.com/in/PanosSakkos" + url: "http://no.linkedin.com/in/PanosSakkos" - title: "youtube" - url: "https://youtube.com/c/PanosSakkos" + url: "http://youtube.com/c/PanosSakkos" - title: "soundcloud" url: "https://soundcloud.com/psakkos/" diff --git a/_includes/js.html b/_includes/js.html index 197d818c0..64a590cde 100755 --- a/_includes/js.html +++ b/_includes/js.html @@ -21,47 +21,51 @@ {% endif %} +{% if page.section-type == "post" %} + -{% if site.twitter-share %} - -{% endif %} - -{% if site.fb-share %} -
- -{% endif %} + {% if site.twitter-share %} + + {% endif %} - - -{% if site.disqus-shortname %} - + {% if site.fb-share %} + + + {% endif %} + + + + {% if site.disqus-shortname %} + + + - + + {% endif %} - /* * * DON'T EDIT BELOW THIS LINE * * */ - (function () { - var s = document.createElement('script'); s.async = true; - s.type = 'text/javascript'; - s.src = '//' + disqus_shortname + '.disqus.com/count.js'; - (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); - }()); - {% endif %} diff --git a/_includes/blog.html b/_includes/latest-post.html similarity index 89% rename from _includes/blog.html rename to _includes/latest-post.html index 4a8ecce14..0ef22269a 100644 --- a/_includes/blog.html +++ b/_includes/latest-post.html @@ -14,7 +14,7 @@