Commit 5c004b21 authored by Hendrik van Antwerpen's avatar Hendrik van Antwerpen

Use Ruby syntax.

parent 567a65a1
...@@ -282,7 +282,7 @@ module Jekyll ...@@ -282,7 +282,7 @@ module Jekyll
end end
end end
def month_name(month): def month_name(month)
case month case month
when 1 when 1
'January' 'January'
...@@ -311,6 +311,7 @@ module Jekyll ...@@ -311,6 +311,7 @@ module Jekyll
else else
'Unknown' 'Unknown'
end end
end
def suppress_author? def suppress_author?
!!@suppress_author !!@suppress_author
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment