Make post's date output configurable via _config.yml, closes #164

A new config variable 'date_format' is introduced in _config.yml.
It can either be set to "ordinal" to use the current format or it
can be given a string complying to strftime() format identifiers.
This commit is contained in:
Frederic Hemberger
2011-10-18 17:25:31 +02:00
parent ff7099207b
commit c2a68cc2a9
4 changed files with 79 additions and 28 deletions

View File

@ -8,6 +8,11 @@ subtitle: A blogging framework for hackers.
author: Your Name
simple_search: http://google.com/search
# Default date format is "ordinal" (resulting in "July 22nd 2007")
# You can customize the format as defined in
# http://www.ruby-doc.org/core-1.9.2/Time.html#method-i-strftime
date_format: "ordinal"
# RSS / Email (optional) subscription links (change if using something like Feedburner)
subscribe_rss: /atom.xml
subscribe_email: