Update Octopress config
- Remove _octopress.yml and move settings into _config.yml as per Octopress' documentation - Close #163
This commit is contained in:
parent
2362f621fb
commit
fdad24cec9
3 changed files with 17 additions and 13 deletions
14
_config.yml
14
_config.yml
|
@ -24,6 +24,20 @@ kramdown:
|
|||
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
|
||||
owner:
|
||||
name: Your Name
|
||||
|
|
|
@ -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
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
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."
|
||||
image:
|
||||
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.
|
||||
|
||||
{% highlight bash %}
|
||||
$ gem install octopress --pre
|
||||
$ gem install octopress
|
||||
{% endhighlight %}
|
||||
|
||||
### 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.
|
||||
|
||||
{% highlight bash %}
|
||||
$ octopress new post "New Post Title" --dir posts
|
||||
$ octopress new post "New Portfolio Post Title" --dir portfolio
|
||||
{% endhighlight %}
|
||||
|
||||
### New Page
|
||||
|
|
Loading…
Reference in a new issue