aboutsummaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-10-18 17:25:31 +0200
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-10-18 17:25:31 +0200
commitc2a68cc2a980506b12b9054d5be8e4806fe79c1c (patch)
treef774b43e2d0da7b661ef2637d05461f614dcf2ec /_config.yml
parentff7099207bc99edf9109f1b91f3e2aaf76560418 (diff)
downloadmy_new_personal_website-c2a68cc2a980506b12b9054d5be8e4806fe79c1c.tar.xz
my_new_personal_website-c2a68cc2a980506b12b9054d5be8e4806fe79c1c.zip
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.
Diffstat (limited to '_config.yml')
-rw-r--r--_config.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/_config.yml b/_config.yml
index 9ab83617..fed545c5 100644
--- a/_config.yml
+++ b/_config.yml
@@ -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: