Skip to content

Removing custom slug code#39

Closed
georgeanderson wants to merge 5 commits intojekyll:masterfrom
georgeanderson:tumblr_slug
Closed

Removing custom slug code#39
georgeanderson wants to merge 5 commits intojekyll:masterfrom
georgeanderson:tumblr_slug

Conversation

@georgeanderson
Copy link
Contributor

The custom slug code is error prone and can create wrong entries like:

2011-12-03-ruby-on-rails---easy-setup-on-ubuntu.md

Where the correct is:

2011-12-03-ruby-on-rails-easy-setup-on-ubuntu.md

It also avoids huge photo captions to be used as the file name like in my case below:

2013-07-04-george-turned-2-today-thats-an-automatic-post-from-tumblr-i-will-also-use-to-inform-the-belowim-on-my-way-out-tumblr-going-into-jekyll-direction-migration-is-in-progress-and-it-should-be-completed-soon.md

With my change the above becomes:

2013-07-04-george-turned-2-today-thats-an-automatic-post.md

@parkr: Sorry I was not able to isolate my commits again. I did something wrong with my feature branch and hope to get it right in the next time.

Thanks,
George.

@parkr
Copy link
Member

parkr commented Jul 8, 2013

LGTM, I'll cherry-pick your commit again :)

@parkr
Copy link
Member

parkr commented Jul 8, 2013

Actually maybe we should fall back to the old method if there is no post["slug"]?

@parkr
Copy link
Member

parkr commented Jul 8, 2013

@georgeanderson What do you think about #40?

@parkr parkr closed this Jul 8, 2013
parkr added a commit that referenced this pull request Jul 8, 2013
@georgeanderson
Copy link
Contributor Author

@parkr Sounds good.

@georgeanderson georgeanderson deleted the tumblr_slug branch July 9, 2013 02:02
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants