Configure theme's demo site

This commit is contained in:
Michael Rose 2016-04-14 16:16:31 -04:00
parent 90b73dc929
commit 1aba4f1eac
5 changed files with 179 additions and 50 deletions

10
_config.dev.yml Normal file
View File

@ -0,0 +1,10 @@
# Develop override settings
url: http://localhost:4000
analytics:
provider: false
comments:
disqus:
shortname : "mmistakes-dev"

View File

@ -7,20 +7,20 @@
# Site Settings
locale : "en-US"
title : "Site Title"
title : "Minimal Mistakes"
title_separator : "-"
name : "Your Name"
description : "An amazing website."
url : # the base hostname & protocol for your site e.g. "https://github.io.mmistakes"
baseurl : # the subpath of your site, e.g. "/blog"
gh_repo :
name : &name "Michael Rose"
description : &description "A flexible Jekyll theme for your blog or site with a minimalist aesthetic."
url : https://github.io.mmistakes # the base hostname & protocol for your site e.g. "//github.io.mmistakes"
baseurl : "/minimal-mistakes" # the subpath of your site, e.g. "/blog"
gh_repo : "https://github.com/mmistakes/minimal-mistakes"
teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png"
# breadcrumbs : false # true, false (default)
# words_per_minute : 200
breadcrumbs : false # true, false (default)
words_per_minute : 200
comments:
provider : # false (default), "disqus", "facebook", "google-plus", custom"
provider : "disqus" # false (default), "disqus", "facebook", "google-plus", custom"
disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
shortname : "minimalmistakes" # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
facebook:
# https://developers.facebook.com/docs/plugins/comments
appid :
@ -28,31 +28,33 @@ comments:
colorscheme : # "light" (default), "dark"
# SEO Related
google_site_verification :
google_site_verification : "UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y"
bing_site_verification :
alexa_site_verification :
yandex_site_verification :
# Social Sharing
twitter:
username :
username : &twitter "mmistakes"
facebook:
username :
username : &facebook "michaelrose"
app_id :
publisher :
og_image : # Open Graph/Twitter default site image
og_image : "site-logo.png" # Open Graph/Twitter default site image
# 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/mmistakes"
- "https://facebook.com/michaelrose"
# Analytics
analytics:
provider : false # false (default), "google", "google-universal", "custom"
provider : "google-universal" # false (default), "google", "google-universal", "custom"
google:
tracking_id :
tracking_id : "UA-2011187-3"
# Google AdSense
google_ad_client :
@ -61,22 +63,22 @@ google_ad_slot :
# Site Author
author:
name : "Your Name"
avatar : "bio-photo.jpg"
bio : "I am an amazing person."
location : "Somewhere"
email :
uri :
name : *name
avatar : "michael-rose.jpg"
bio : "Just another boring, tattooed, time traveling, designer."
location : "Buffalo, NY"
email : *email
uri : "https://mademistakes.com"
bitbucket :
codepen :
dribbble :
flickr :
facebook :
facebook : *facebook
foursquare :
github :
github : "mmistakes"
google_plus :
keybase :
instagram :
instagram : "mmistakes"
lastfm :
linkedin :
pinterest :
@ -84,7 +86,7 @@ author:
stackoverflow : # http://stackoverflow.com/users/123456/username
steam :
tumblr :
twitter :
twitter : *twitter
vine :
weibo :
xing :
@ -145,11 +147,85 @@ kramdown:
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: ""
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
# _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
# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# 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
# Plugins
@ -159,6 +235,7 @@ gems:
- jekyll-gist
- jekyll-feed
- jemoji
- jekyll-redirect-from
# mimic GitHub Pages with --safe
whitelist:
@ -167,6 +244,7 @@ whitelist:
- jekyll-gist
- jekyll-feed
- jemoji
- jekyll-redirect-from
# Archives

View File

@ -1,16 +1,71 @@
# main links links
main:
- title: "Quick-Start Guide"
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
url: /docs/quick-start-guide/
- title: "About"
url: https://mmistakes.github.io/minimal-mistakes/
url: /about/
- title: "Sample Posts"
url: https://mmistakes.github.io/minimal-mistakes/year-archive/
- title: "Sample Pages"
url: https://mmistakes.github.io/minimal-mistakes/page-archive/
url: /year-archive/
- title: "Sample Collections"
url: https://mmistakes.github.io/minimal-mistakes/collection-archive/
url: /collection-archive/
# documentation links
docs:
- title: Getting Started
children:
- title: "Quick-Start Guide"
path: quick-start-guide
- title: "Structure"
path: structure
- title: "Installation"
path: installation
- title: "Upgrading"
path: upgrading
- title: Customization
children:
- title: "Configuration"
path: configuration
- title: "Navigation"
path: navigation
- title: "UI Text"
path: ui-text
- title: "Authors"
path: authors
- title: "Layouts"
path: layouts
- title: Content
children:
- title: "Working with Posts"
path: posts
- title: "Working with Pages"
path: pages
- title: "Working with Collections"
path: collections
- title: "Helpers"
path: helpers
- title: "Utility Classes"
path: utility-classes
- title: Extras
children:
- title: "Stylesheets"
path: stylesheets
- title: "JavaScript"
path: javascript
- title: Meta
children:
- title: "History"
path: history
- title: "Contributing"
path: contributing
- title: "Old 2.2 Docs"
path: docs-2-2
- title: "License"
path: license

BIN
images/michael-rose.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -1,14 +0,0 @@
---
layout: archive
author_profile: true
---
{% include base_path %}
<h3 class="archive__subtitle">Recent Posts</h3>
{% for post in paginator.posts %}
{% include archive-single.html %}
{% endfor %}
{% include paginator.html %}