config.ru
... ...
@@ -11,11 +11,11 @@
11 11
Gollum::GIT_ADAPTER = "my"
12 12
13 13
end
14
-
14
+ Gollum::TemplateFilter.add_filter('{{current_date}}', & -> () { Time.now.strftime("%Y-%m-%d") })
15 15
16
- wiki_options = {
17
- Gollum::TemplateFilter.add_filter('{{current_date}}', & -> () { Time.now.strftime("%Y-%m-%d") })
18 16
17
+ wiki_options = {
18
+
19 19
##############################################################################
20 20
# Command line option equivalents
21 21