fix for calling delete! on NiLClass

This commit is contained in:
Ben Balter 2017-05-02 09:42:21 -04:00
parent 65820ada36
commit 4f80ea50b7
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 1 additions and 1 deletions

View File

@ -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