Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds more flexibility to :new_page task #225

Merged
merged 1 commit into from
Dec 10, 2011
Merged

Adds more flexibility to :new_page task #225

merged 1 commit into from
Dec 10, 2011

Conversation

fhemberger
Copy link
Contributor

Page filenames/directories are lowercased and sanitized by default to
allow a greater flexibility:

  • new_page["/path/to/file"] # => source/path/to/file/index.markdown
  • new_page["path/to/file"] # => source/path/to/file/index.markdown
  • new_page["my path/my file"] # => source/my-path/my-file/index.markdown
  • new_page["lorem.ipsum.dolor"] # => source/lorem-dot-ipsum.dolor
  • new_page["Questions & Answers"] # => source/questions-and-answers/index.markdown

Page filenames/directories are lowercased and sanitized by default to
allow a greater flexibility:

- new_page["/path/to/file"] # => source/path/to/file/index.markdown
- new_page["path/to/file"] # => source/path/to/file/index.markdown
- new_page["my path/my file"] # => source/my-path/my-file/index.markdown
- new_page["lorem.ipsum.dolor"] # => source/lorem-dot-ipsum.dolor
- new_page["Questions & Answers"] # => source/questions-and-answers/index.markdown
fhemberger added a commit that referenced this pull request Dec 10, 2011
Add more flexibility to :new_page task
@fhemberger fhemberger merged commit e5c262c into master Dec 10, 2011
briansimmons pushed a commit to briansimmons/octopress that referenced this pull request Aug 20, 2013
Add more flexibility to :new_page task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant