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

Commita4fd821

Browse files
committed
Remove Octopress templates, documentation, and other outdated configs
1 parent8238dc2 commita4fd821

File tree

6 files changed

+30
-167
lines changed

6 files changed

+30
-167
lines changed

‎Rakefile.rb‎

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

‎_config.yml‎

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,28 +55,35 @@ permalink: /:categories/:title/
5555
paginate:5
5656

5757
kramdown:
58+
input:GFM
5859
auto_ids:true
5960
footnote_nr:1
6061
entity_output:as_char
6162
toc_levels:1..6
6263
enable_coderay:false
6364

64-
coderay:
65-
coderay_line_numbers:nil
66-
coderay_line_numbers_start:1
67-
coderay_tab_width:4
68-
coderay_bold_every:10
69-
coderay_css:class
70-
71-
# Octopress
72-
# Default extensions
73-
post_ext:md
74-
page_ext:md
75-
# Found in _templates/
76-
post_layout:post
77-
page_layout:page
78-
# Format titles with titlecase?
79-
titlecase:true
80-
81-
include:[".htaccess"]
82-
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"]
65+
include:
66+
-.htaccess
67+
exclude:
68+
-"*.less"
69+
-"*.sublime-project"
70+
-"*.sublime-workspace"
71+
-.asset-cache
72+
-.bundle
73+
-.jekyll-assets-cache
74+
-.sass-cache
75+
-CHANGELOG
76+
-Capfile
77+
-Gemfile
78+
-Gruntfile.js
79+
-LICENSE
80+
-README
81+
-Rakefile
82+
-config
83+
-gulpfile.js
84+
-lib
85+
-log
86+
-node_modules
87+
-package.json
88+
-spec
89+
-tmp

‎_templates/archive‎

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

‎_templates/page‎

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

‎_templates/post‎

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

‎theme-setup/index.md‎

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ image:
77
credit:dargadgetz
88
creditlink:http://www.dargadgetz.com/ios-7-abstract-wallpaper-pack-for-iphone-5-and-ipod-touch-retina/
99
share:true
10+
modified:2016-06-01T15:14:43-04:00
1011
---
1112

1213
General notes and suggestions for customizing**HPSTR**.
@@ -128,35 +129,11 @@ To add additional links in the drop down menu edit `_data/navigation.yml`. Use t
128129

129130
---
130131

131-
##Adding New Content with Octopress
132+
##Adding New Content
132133

133-
While completely optional, I've included Octopressandsome starter templatestoautomatethecreation of new posts and pages. To take advantage of it start by installingthe[Octopress](https://github.com/octopress/octopress) gem if it isn't already.
134+
Posts are stored in the`_posts` directoryandnamed accordingto the`YEAR-MONTH-DAY-title.MARKUP` format as per[theusual](https://jekyllrb.com/docs/posts/).
134135

135-
{% highlight bash %}
136-
$ gem install octopress
137-
{% endhighlight %}
138-
139-
###New Post
140-
141-
Default command
142-
143-
{% highlight bash %}
144-
$ octopress new post "Post Title"
145-
{% endhighlight %}
146-
147-
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.
148-
149-
{% highlight bash %}
150-
$ octopress new post "New Portfolio Post Title" --dir portfolio
151-
{% endhighlight %}
152-
153-
###New Page
154-
155-
To create a new page use the following command.
156-
157-
{% highlight bash %}
158-
$ octopress new page new-page/
159-
{% endhighlight %}
136+
To streamline the creation of posts and pages,[Jekyll::Compose](https://github.com/jekyll/jekyll-compose) and[Octopress](https://github.com/octopress/octopress) are great plugins you can install to automate this process.
160137

161138
---
162139

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp