Update Octopress config

- Remove _octopress.yml and move settings into _config.yml as per Octopress' documentation
- Close #163
This commit is contained in:
Michael Rose 2016-01-19 21:07:30 -05:00
parent 2362f621fb
commit fdad24cec9
3 changed files with 17 additions and 13 deletions

View file

@ -24,6 +24,20 @@ kramdown:
use_coderay: false use_coderay: false
# Octopress
# Default extensions
post_ext: md
page_ext: md
# Found in _templates/
post_layout: post
page_layout: page
# Format titles with titlecase?
titlecase: true
# Site owner # Site owner
owner: owner:
name: Your Name name: Your Name

View file

@ -1,10 +0,0 @@
# Default extensions
post_ext: md
page_ext: md
# Found in _templates/
post_layout: post
page_layout: page
# Format titles with titlecase?
titlecase: true

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
title: Theme Setup title: Theme Setup
modified: 2014-07-31T13:23:02.362000-04:00 modified: 2016-01-19
excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes." excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes."
image: image:
feature: sample-image-3.jpg feature: sample-image-3.jpg
@ -145,7 +145,7 @@ To set what links appear in the top navigation edit `_data/navigation.yml`. Use
While completely optional, I've included Octopress and some starter templates to automate the creation of new posts and pages. To take advantage of it start by installing the [Octopress](https://github.com/octopress/octopress) gem if it isn't already. While completely optional, I've included Octopress and some starter templates to automate the creation of new posts and pages. To take advantage of it start by installing the [Octopress](https://github.com/octopress/octopress) gem if it isn't already.
{% highlight bash %} {% highlight bash %}
$ gem install octopress --pre $ gem install octopress
{% endhighlight %} {% endhighlight %}
### New Post ### New Post
@ -159,7 +159,7 @@ $ octopress new post "Post Title"
Default works great if you want all your posts in one directory, but if you're like me and want to group them into subfolders like `/posts`, `/portfolio`, etc. Then this is the command for you. By specifying the DIR it will create a new post in that folder and populate the `categories:` YAML with the same value. Default works great if you want all your posts in one directory, but if you're like me and want to group them into subfolders like `/posts`, `/portfolio`, etc. Then this is the command for you. By specifying the DIR it will create a new post in that folder and populate the `categories:` YAML with the same value.
{% highlight bash %} {% highlight bash %}
$ octopress new post "New Post Title" --dir posts $ octopress new post "New Portfolio Post Title" --dir portfolio
{% endhighlight %} {% endhighlight %}
### New Page ### New Page