Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Rose <est.michael@gmail.com>2016-01-20 05:17:55 +0300
committerMichael Rose <est.michael@gmail.com>2016-01-20 05:17:55 +0300
commite4a65b83bdcc7404fc12b47765eb187d7bfc403c (patch)
treeb3556cdd10358d82f6024c6d21ef1c7775d3b298
parentd8ee1b933e01abcfc338e8d40ef4a6bcd2d882b2 (diff)
Update Octopress config
- Remove _octopress.yml and move settings into _config.yml as per Octopress' documentation
-rw-r--r--_config.yml10
-rw-r--r--_octopress.yml10
-rw-r--r--theme-setup/index.md4
3 files changed, 12 insertions, 12 deletions
diff --git a/_config.yml b/_config.yml
index 736b373..7423d96 100644
--- a/_config.yml
+++ b/_config.yml
@@ -65,5 +65,15 @@ kramdown:
coderay_bold_every: 10
coderay_css: class
+# Octopress
+# Default extensions
+post_ext: md
+page_ext: md
+# Found in _templates/
+post_layout: post
+page_layout: page
+# Format titles with titlecase?
+titlecase: true
+
include: [".htaccess"]
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"] \ No newline at end of file
diff --git a/_octopress.yml b/_octopress.yml
deleted file mode 100644
index 3223f5e..0000000
--- a/_octopress.yml
+++ /dev/null
@@ -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
diff --git a/theme-setup/index.md b/theme-setup/index.md
index 9d0c1be..ca35820 100644
--- a/theme-setup/index.md
+++ b/theme-setup/index.md
@@ -173,7 +173,7 @@ To add additional links in the drop down menu edit `_data/navigation.yml`. Use t
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
@@ -187,7 +187,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