+ [11 years ago] mikechelen i hate it when renaming an article breaks previous links to that article
+ [11 years ago] mikechelen and i would prefer to not manually set up redirects each time
+ [11 years ago] mikechelen ah i think i have an answer using 1 redirect
+ [11 years ago] jbfavre hello, collections seems to allow variable definition. How can I access them from template ?
+ [11 years ago] parkr jbfavre: how are you accessing them? are you iterating over an array of documents? or of the collection? try `site.collections.<name>`

message no. 32883

Posted by mikechelen in #jekyll at 2014-07-26T05:28:17Z

ah i think i have an answer using 1 redirect
+ [11 years ago] mikechelen can you use YAML vars in site-wide permalink settings?
+ [11 years ago] mikechelen for example, in page YAML "foo: bar"
+ [11 years ago] mikechelen and in _config.yml "permalink: /:foo/:title/
+ [11 years ago] mikechelen oh well, thats what i thought