~xdavidwu/xdavidwu.link

fdad24cec94c7ffaf07b2bf45c9f7f3b51f3b126 — Michael Rose 8 years ago 2362f62
Update Octopress config
- Remove _octopress.yml and move settings into _config.yml as per Octopress' documentation
- Close #163
3 files changed, 17 insertions(+), 13 deletions(-)

M _config.yml
D _octopress.yml
M theme-setup/index.md
M _config.yml => _config.yml +14 -0
@@ 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

D _octopress.yml => _octopress.yml +0 -10
@@ 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

M theme-setup/index.md => theme-setup/index.md +3 -3
@@ 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