hacks-guide-minimal-mistake.../_config.yml
Michael Rose 7ac2a1263e Paginate posts for home page
- Configurejekyll-paginate
- Modify home page to include paginator loop
- Add pagination include and basic styling
- Add " - page #" to <title></tile> for SEO benefits
2016-03-09 15:11:34 -05:00

211 lines
No EOL
5.1 KiB
YAML

# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site Settings
locale : en_US
title : "Your Awesome Site"
title_separator : "-"
name : &name "Your Name"
description : &description "Write an awesome description for your new site here."
url : "http://localhost:4000" # the base hostname & protocol for your site
baseurl : "/minimal-mistakes" # the subpath of your site, e.g. /blog
email : "your-email@domain.com"
logo : "site-logo.png"
breadcrumbs : false # true / false (default)
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
twitter:
username : &twitter "site_twitter"
facebook:
username : &facebook "site_facebook"
app_id :
publisher :
share : true # false (default), true
comments:
provider : false # false (default), "disqus", "facebook", "google-plus", custom"
disqus:
shortname : "mmistakes-dev" # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
facebook:
# https://developers.facebook.com/docs/plugins/comments
appid :
num_posts : # 5 (default)
width : # 580 (default)
colorscheme : # "light" (default), "dark"
google_site_verification :
bing_site_verification :
alexa_site_verification :
yandex_site_verification :
analytics:
provider : false # false (default), "google", "google-universal", "custom"
google:
tracking_id : "UA-123456-7"
google_ad_client :
google_ad_slot :
# For specifying social profiles.
# https://developers.google.com/structured-data/customize/social-profiles
social:
type : # Person or Organization (defaults to Person)
name : # If the user or organization name differs from the site's name
links: # An array of links to social media profiles
- "https://twitter.com/site_twitter"
- "https://facebook.com/site_facebook"
# Reading Files
safe: false
include:
- .htaccess
- _pages
exclude:
- "*.sublime-project"
- "*.sublime-workspace"
- .asset-cache
- .bundle
- .jekyll-assets-cache
- .sass-cache
- Capfile
- config
- Gemfile
- Gruntfile.js
- gulpfile.js
- LICENSE
- log
- node_modules
- package.json
- Rakefile
- README
- tmp
keep_files:
- .git
- .svn
encoding: "utf-8"
markdown_ext: "markdown,mkdown,mkdn,mkd,md"
# Conversion
markdown: kramdown
highlighter: rouge
sass:
sass_dir: _sass
style: compressed
lsi: false
excerpt_separator: "\n\n"
incremental: false
# Markdown Processing
kramdown:
input: GFM
hard_wrap: false
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
smart_quotes: lsquo,rsquo,ldquo,rdquo
enable_coderay: false
# Collections
collections:
recipes:
output: true
permalink: /:collection/:categories/:path/
pets:
output: true
permalink: /:collection/:categories/:path/
portfolio:
output: true
permalink: /:collection/:categories/:path/
# Defaults
defaults:
# _posts
- scope:
path: ""
type: posts
values:
layout: single
author_profile: true
comments: true
share: true
related: true
# _pages
- scope:
path: ""
type: pages
values:
layout: single
author_profile: true
# _recipes
- scope:
path: ""
type: recipes
values:
layout: single
author_profile: true
share: true
comments: true
# _pets
- scope:
path: ""
type: pets
values:
layout: single
author_profile: true
share: true
comment: true
# _portfolio
- scope:
path: ""
type: portfolio
values:
layout: single
author_profile: false
share: true
# Plugins
gems:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: America/New_York # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# HTML Compression
# http://jch.penibelst.de/
compress_html:
clippings: all
ignore:
envs: development
# Site Author
author:
name : *name
avatar : "bio-photo.jpg"
bio : *description
email : *email
codepen :
dribbble :
flickr :
facebook : *facebook
foursquare :
github :
google_plus :
instagram :
lastfm :
linkedin :
pinterest :
soundcloud :
stackoverflow : # http://stackoverflow.com/users/123456/username
steam :
tumblr :
twitter : *twitter
weibo :
xing :
youtube :