diff --git a/_config.yml b/_config.yml index 71e564f0..c497bfe8 100644 --- a/_config.yml +++ b/_config.yml @@ -15,12 +15,12 @@ url : "http://localhost:4000" # the base hostname & protoco baseurl : "/test" # the subpath of your site, e.g. /blog email : "your-email@domain.com" logo : "default-thumb.png" -google_site_verification : twitter: username : site_twitter facebook: app_id : publisher : +disqus_shortname : "mmistakes-dev" # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname- google_site_verification : bing_site_verification : alexa_site_verification : @@ -85,6 +85,17 @@ kramdown: smart_quotes: lsquo,rsquo,ldquo,rdquo enable_coderay: false +# Defaults +defaults: + + # _posts + - scope: + path: "" + type: posts + values: + layout: post + comments: true + # Plugins gems: - jekyll-paginate @@ -106,10 +117,9 @@ compress_html: # Site Owner owner: name : "Your Name" - avatar : "/images/bio-photo.jpg" # external URLs are also acceptable + avatar : "bio-photo.jpg" # external URLs are also acceptable bio : "Describe your self." email : - disqus-shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname- bing-verify : codepen : dribbble : diff --git a/_includes/disqus-comments.html b/_includes/disqus-comments.html index eb535e76..721316a1 100644 --- a/_includes/disqus-comments.html +++ b/_includes/disqus-comments.html @@ -1,7 +1,7 @@ -{% if site.owner.disqus-shortname %} +{% if site.disqus_shortname %}