-
Notifications
You must be signed in to change notification settings - Fork 83
set post type and layout defaults on _config.yml #6
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
Conversation
lib/jekyll/commands/draft.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be
type = options["type"] || config["post_type"] || "markdown"but I don't like having config options just yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right... :) prettier
741d266 to
629442d
Compare
|
I fixed the those conditions.... jekyll-compose:
post_layout: thepost
post_type: md |
Because this project is going to be defunct soon anyway, so it just adds more weight to support. I think choosing sane defaults like |
|
Can we change the defaults from 'markdown' to 'md' then?? that's why I really want this to be flexible. |
|
What's the rationale for that change? |
|
Just because you said
But the type default is I understand that any of those is ok, I'm just used to use the |
|
if you are not sure, don't worry... we can close de PR... |
|
Then let's change it to |
|
great!! |
@parkr I know the idea is to use octopress generators, but just for now... while they are ready :)