Closed atomicbird closed 11 years ago
Basically a nice idea. But please remember: It's just a small and basic theme to kick start a blog project. And I don't want to blow it up to much.
Instead of this tiny lil' date snippet (which is really easy to customize) right now:
('d.m.Y')
you'll get
(c::get('blog.article.dateformat'))
in every template. (Plus the stuff in the config.php
).
I think it might be only worth it if someone got way more templates to work on and wants to have a better possibility of maintenance.
But maybe you want to send Bastian a pull request to include some stuff like this for Kirby in general.
I made this change because when I wanted to change the date format I had to change it in nine places. So, I changed it to something that could be customized in one place.
Since different countries have different ideas about how dates should be formatted, I made this change so that it would be possible to change the format in one place and have it affect every blog post-related use.