7eb00bbd61
* Integrate search into masthead * Fix cutoff descenders in archive article titles * Remove search page from `/test` site * Enable masthead search * Remove dedicated search page * Fix masthead search form padding * Improve insertion of search content * Speed up page transition * Add fade transition to search content * Rename visibility class names * Add `site.search` to _config.yml * Document site search feature * Update CHANGELOG and history
320 lines
8.5 KiB
YAML
320 lines
8.5 KiB
YAML
# Welcome to Jekyll!
|
|
#
|
|
# This config file is meant for settings that affect your entire site, 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.
|
|
|
|
remote_theme : "mmistakes/minimal-mistakes"
|
|
|
|
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
|
|
|
|
# Site Settings
|
|
locale : "en-US"
|
|
title : "Minimal Mistakes"
|
|
title_separator : "-"
|
|
name : &name "Michael Rose" # &name is a YAML anchor which can be *referenced later
|
|
description : &description "A flexible Jekyll theme for your blog or site with a minimalist aesthetic."
|
|
url : https://mmistakes.github.io # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
|
|
baseurl : "/minimal-mistakes" # the subpath of your site, e.g. "/blog"
|
|
repository : "mmistakes/minimal-mistakes"
|
|
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
|
|
# breadcrumbs : false # true, false (default)
|
|
words_per_minute : 200
|
|
comments:
|
|
provider : "staticman_v2" # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman_v2", "staticman" "custom"
|
|
disqus:
|
|
shortname :
|
|
discourse:
|
|
server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
|
|
facebook:
|
|
# https://developers.facebook.com/docs/plugins/comments
|
|
appid :
|
|
num_posts : # 5 (default)
|
|
colorscheme : # "light" (default), "dark"
|
|
staticman:
|
|
allowedFields : # ['name', 'email', 'url', 'message']
|
|
branch : "master"
|
|
commitMessage : # "New comment"
|
|
filename : # comment-{@timestamp}
|
|
format : # "yml"
|
|
moderation : # true
|
|
path : # "_data/comments/{options.slug}"
|
|
requiredFields : # ['name', 'email', 'message']
|
|
transforms:
|
|
email : # "md5"
|
|
generatedFields:
|
|
date:
|
|
type : # "date"
|
|
options:
|
|
format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
|
reCaptcha:
|
|
siteKey : "6LdRBykTAAAAAFB46MnIu6ixuxwu9W1ihFF8G60Q"
|
|
secret : "PznnZGu3P6eTHRPLORniSq+J61YEf+A9zmColXDM5icqF49gbunH51B8+h+i2IvewpuxtA9TFoK68TuhUp/X3YKmmqhXasegHYabY50fqF9nJh9npWNhvITdkQHeaOqnFXUIwxfiEeUt49Yoa2waRR7a5LdRAP3SVM8hz0KIBT4="
|
|
|
|
atom_feed:
|
|
path : # blank (default) uses feed.xml
|
|
|
|
search : true # true, false (default)
|
|
|
|
# SEO Related
|
|
google_site_verification : "UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y" # Replace this with your ID, or delete
|
|
bing_site_verification :
|
|
yandex_site_verification :
|
|
naver_site_verification :
|
|
|
|
# Social Sharing
|
|
twitter:
|
|
username : &twitter "mmistakes"
|
|
facebook:
|
|
username : &facebook "michaelrose"
|
|
app_id :
|
|
publisher :
|
|
og_image : "/assets/images/site-logo.png" # Open Graph/Twitter default site image
|
|
# For specifying social profiles, used in _includes/seo.html
|
|
# - 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/mmistakes"
|
|
- "https://facebook.com/michaelrose"
|
|
|
|
# Analytics
|
|
analytics:
|
|
provider : "google-universal" # false (default), "google", "google-universal", "custom"
|
|
google:
|
|
tracking_id : "UA-2011187-3" # Replace this with your ID, or delete
|
|
|
|
|
|
# Site Author
|
|
author:
|
|
name : *name # *name is a YAML reference pointing to the &anchor earlier
|
|
avatar : "/assets/images/michael-rose.jpg"
|
|
bio : "Just another boring, tattooed, time traveling, designer."
|
|
location : "Buffalo, NY"
|
|
email :
|
|
uri : "https://mademistakes.com"
|
|
bitbucket :
|
|
codepen :
|
|
dribbble :
|
|
flickr :
|
|
facebook : *facebook
|
|
foursquare :
|
|
github : "mmistakes"
|
|
gitlab :
|
|
google_plus :
|
|
keybase :
|
|
instagram : "mmistakes"
|
|
lastfm :
|
|
linkedin :
|
|
pinterest :
|
|
soundcloud :
|
|
stackoverflow : # https://stackoverflow.com/users/123456/username
|
|
steam :
|
|
tumblr :
|
|
twitter : *twitter
|
|
vine :
|
|
weibo :
|
|
xing :
|
|
youtube :
|
|
|
|
|
|
# Reading Files
|
|
include:
|
|
- .htaccess
|
|
- _pages
|
|
exclude:
|
|
- "*.sublime-project"
|
|
- "*.sublime-workspace"
|
|
- vendor
|
|
- .asset-cache
|
|
- .bundle
|
|
- .jekyll-assets-cache
|
|
- .sass-cache
|
|
- assets/js/plugins
|
|
- assets/js/_main.js
|
|
- assets/js/vendor
|
|
- Capfile
|
|
- CHANGELOG
|
|
- 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
|
|
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:
|
|
docs:
|
|
output: true
|
|
permalink: /:collection/:path/
|
|
recipes:
|
|
output: true
|
|
permalink: /:collection/:path/
|
|
pets:
|
|
output: true
|
|
permalink: /:collection/:path/
|
|
portfolio:
|
|
output: true
|
|
permalink: /:collection/:path/
|
|
|
|
|
|
# Defaults
|
|
defaults:
|
|
# _posts
|
|
- scope:
|
|
path: ""
|
|
type: posts
|
|
values:
|
|
layout: single
|
|
author_profile: true
|
|
read_time: true
|
|
comments: true
|
|
share: true
|
|
related: true
|
|
# _pages
|
|
- scope:
|
|
path: "_pages"
|
|
type: pages
|
|
values:
|
|
layout: single
|
|
author_profile: true
|
|
# _docs
|
|
- scope:
|
|
path: ""
|
|
type: docs
|
|
values:
|
|
layout: single
|
|
read_time: false
|
|
author_profile: false
|
|
share: false
|
|
comments: false
|
|
sidebar:
|
|
nav: "docs"
|
|
# _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
|
|
|
|
|
|
# Sass/SCSS
|
|
sass:
|
|
sass_dir: _sass
|
|
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
|
|
|
|
|
|
# Outputting
|
|
permalink: /:categories/:title/
|
|
# paginate: 5 # amount of posts to show
|
|
# paginate_path: /page:num/
|
|
timezone: America/New_York # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
|
|
|
|
# Plugins (previously gems:)
|
|
plugins:
|
|
- jekyll-paginate
|
|
- jekyll-sitemap
|
|
- jekyll-gist
|
|
- jekyll-feed
|
|
- jemoji
|
|
- jekyll-remote-theme
|
|
|
|
# mimic GitHub Pages with --safe
|
|
whitelist:
|
|
- jekyll-paginate
|
|
- jekyll-sitemap
|
|
- jekyll-gist
|
|
- jekyll-feed
|
|
- jemoji
|
|
- jekyll-remote-theme
|
|
|
|
|
|
# Archives
|
|
# Type
|
|
# - GitHub Pages compatible archive pages built with Liquid ~> type: liquid (default)
|
|
# - Jekyll Archives plugin archive pages ~> type: jekyll-archives
|
|
# Path (examples)
|
|
# - Archive page should exist at path when using Liquid method or you can
|
|
# expect broken links (especially with breadcrumbs enabled)
|
|
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
|
|
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
|
|
# - <base_path/my-awesome-category/index.html ~> path: /
|
|
category_archive:
|
|
type: liquid
|
|
path: /categories/
|
|
tag_archive:
|
|
type: liquid
|
|
path: /tags/
|
|
# https://github.com/jekyll/jekyll-archives
|
|
# jekyll-archives:
|
|
# enabled:
|
|
# - categories
|
|
# - tags
|
|
# layouts:
|
|
# category: archive-taxonomy
|
|
# tag: archive-taxonomy
|
|
# permalinks:
|
|
# category: /categories/:name/
|
|
# tag: /tags/:name/
|
|
|
|
|
|
# HTML Compression
|
|
# - http://jch.penibelst.de/
|
|
compress_html:
|
|
clippings: all
|
|
ignore:
|
|
envs: development
|