Fix handling of content files with "." in them
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 7 Apr 2018 08:10:06 +0000 (10:10 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 7 Apr 2018 08:57:29 +0000 (10:57 +0200)
commit2817e842407c8dcbfc738297ab634392fcb41ce1
treea5c8f9bc1b976881bd98219ebb3500ea6a85efce
parent623c9afa8409855ccfd7b000ae7c6780b780a5af
Fix handling of content files with "." in them

As in, more dots than just to separate the extension and any language indicator.

Fixes #4559
hugofs/language_fs.go
hugofs/language_fs_test.go
source/fileInfo.go
source/fileInfo_test.go