Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e3a2a1

Browse files
committed
Update Octopress config
- Remove _octopress.yml and move settings into _config.yml as per Octopress' documentation
1 parentbe468ad commit1e3a2a1

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

‎_config.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,15 @@ kramdown:
6363
coderay_bold_every:10
6464
coderay_css:class
6565

66+
# Octopress
67+
# Default extensions
68+
post_ext:md
69+
page_ext:md
70+
# Found in _templates/
71+
post_layout:post
72+
page_layout:page
73+
# Format titles with titlecase?
74+
titlecase:true
75+
6676
include:[".htaccess"]
6777
exclude:["lib", "config.rb", "Capfile", "config", "Gemfile", "Gemfile.lock", "README.md", "LICENSE", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules"]

‎_octopress.yml‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎theme-setup/index.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ To add additional links in the drop down menu edit `_data/navigation.yml`. Use t
173173
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.
174174

175175
{% highlight bash %}
176-
$ gem install octopress --pre
176+
$ gem install octopress
177177
{% endhighlight %}
178178

179179
###New Post
@@ -187,7 +187,7 @@ $ octopress new post "Post Title"
187187
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.
188188

189189
{% highlight bash %}
190-
$ octopress new post "New Post Title" --dirposts
190+
$ octopress new post "NewPortfolioPost Title" --dirportfolio
191191
{% endhighlight %}
192192

193193
###New Page

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp