cauerego / cauerego.github.io

blogging, experimenting with jekyll and trying to write a bdd novel
https://blog.cregox.net
MIT License
3 stars 0 forks source link

true permalink #3

Open cauerego opened 7 years ago

cauerego commented 7 years ago

you know, like in medium, in case I want to change the post title any previous link should continue working fine

cauerego commented 7 years ago

maybe it is already being considered by the jekyll team https://github.com/jekyll/jekyll/issues/3725 or maybe I should make a pull request or something...

it would be nice to have a unique hash id automatically generated which would work like it does in medium - something like generating a hashids.org from the date-time added to something as a regex stripping it out from the url to ignore everything that's not the id by whatever means... still looking for something already done out there!

cauerego commented 7 years ago

well, at least now ( https://github.com/cauerego/cauerego.github.io/commit/b25acc46e158a91715ab49dfc8d0a1db43f88641 ) we've got a plugin which can generate an unique hash id auto, however... github pages doesn't accept custom plugins! :( maybe I'll be able to make a gem out of it, eventually.

and there are still a lot of work to do ( https://github.com/cauerego/cauerego.github.io/commit/cfbc4d5494d61bb25ac0c0442f38f12a66acb3ac ), but I like how this is one fundamental step closer to the awesome medium style, even while the current implementation is still (and temporarily) too hackish ( https://github.com/cauerego/cauerego.github.io/commit/1ff9858d136eb145c00eccbe9cd996b75b26a075 ). :)