Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Added date to the articles #19

merged 1 commit into from Mar 20, 2013


None yet
2 participants

thechrisoshow commented Mar 20, 2013

Hi Steve,

I've added a very basic date to the articles. This uses the 'date' metadata, which not all of the articles have (in which case it will just be blank).

The format I've chosen for dates is "%-d %B %Y" - you can change this if you want in the formatted_date helper in blog.rb.

Also, it's 'barely' styled. You can set the style for the date in layout.css


Added a date to articles. This uses the 'date' metadata, which not al…
…l of the articles have (although the latest ones seem to)

steveklabnik added a commit that referenced this pull request Mar 20, 2013

@steveklabnik steveklabnik merged commit 62b80ea into steveklabnik:master Mar 20, 2013


steveklabnik commented Mar 20, 2013

You are awesome. I love merging pull requests from my phone when I'm on the bus. Thank you! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment