diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-16 16:22:37 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-16 16:22:37 +0200 |
commit | fc138b2e35c009df5fc84c361263172b5a867dc7 (patch) | |
tree | 06e74a101b2cc8e054dd7c603fd818ba86f5d54f /.gitattributes | |
parent | b1ad2a3d8a82c6f0c4d15f2058d57cb51ec90b60 (diff) | |
download | my_new_personal_website-fc138b2e35c009df5fc84c361263172b5a867dc7.tar.xz my_new_personal_website-fc138b2e35c009df5fc84c361263172b5a867dc7.zip |
Adds more flexibility to :new_page task
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
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions