Skip to content

Commit f5c3299

Browse files
committed
Reintroduce dummy month at index position 0
1 parent c139331 commit f5c3299

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_plugins/news.rb

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def initialize(site,base,layout,lang,posts)
1717

1818
@month_names = @site.config['locales']['month_names'][@lang] ||
1919
@site.config['locales']['month_names']['en']
20+
@month_names = ['None'] + @month_names
2021

2122
process(@name)
2223
read_yaml(File.join(base, '_layouts'),layout)

0 commit comments

Comments
 (0)