mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-10 12:50:55 +00:00
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:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user