Use config.post.default_markup to specify extension for created post files. #8

Merged
merged 1 commit into from May 3, 2012

Conversation

Projects
None yet
2 participants
@douglatornell
Collaborator

douglatornell commented May 3, 2012

The blogofile blog post create command is hardcoded to create a file with the extension .markdown. This change uses a new config option, blog.post.default_markup to permit an alternative to be specified. I use RST markup, so have set blog.post.default_markup = 'rst' in my _config.py file. If blog.post.default_markup is not set the default remains .markdown.

This pull requests also contains a few compulsive whitespace and PEP8 cleanup changes. Apologies for mixing them with feature changes.

EnigmaCurry added a commit that referenced this pull request May 3, 2012

Merge pull request #8 from douglatornell/post-create-format-option
Use config.post.default_markup to specify extension for created post files.

@EnigmaCurry EnigmaCurry merged commit a2318b9 into EnigmaCurry:master May 3, 2012

@mfeif mfeif referenced this pull request in wxl/blogofobe_blog Feb 11, 2015

Merged

Properly initialize tags on build, also small setup.py typo fix #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment