fix for calling delete! on NiLClass
This commit is contained in:
parent
65820ada36
commit
4f80ea50b7
|
@ -88,7 +88,7 @@ module Jekyll
|
|||
end
|
||||
|
||||
author["twitter"] ||= author["name"]
|
||||
author["twitter"].delete! "@"
|
||||
author["twitter"].delete! "@" if author["twitter"]
|
||||
author.to_liquid
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue