Set defaults for _posts
- layout ~> post.html - enable comments
This commit is contained in:
16
_config.yml
16
_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 :
|
||||
|
||||
Reference in New Issue
Block a user