cache/filecache: Add a :project placeholder
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 14 Nov 2018 16:18:32 +0000 (17:18 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 14 Nov 2018 22:14:51 +0000 (23:14 +0100)
commit94f0f7e59788e802e706a55cac0d52a9e70ff745
treed8e613f37940aeadd18703f35b9bf912c360be72
parent3c29c5af8ee865ef20741f576088e031e940c3d2
cache/filecache: Add a :project placeholder

This allows for "cache per Hugo project", making `hugo --gc` work as expected, even if you have several Hugo projects running on the same PC.

See #5439
cache/filecache/filecache.go
cache/filecache/filecache_config.go
cache/filecache/filecache_config_test.go
docs/content/en/getting-started/configuration.md
hugolib/site_test.go