URI: 
       config: Fix Netlify default cache dir logic - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 6c8c0c8b6a0b39b91de44d72a7bd1cd49534a0f1
   DIR parent 49fedbc51cafa64e4eb0eae9fb79ccbe2d4c6774
  HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
       Date:   Tue, 29 Jun 2021 09:51:09 +0200
       
       config: Fix Netlify default cache dir logic
       
       Fixes #8710
       
       Diffstat:
         M helpers/path.go                     |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/helpers/path.go b/helpers/path.go
       @@ -412,8 +412,8 @@ func getCacheDir(cfg config.Provider) string {
                        return addTrailingFileSeparator(cacheDir)
                }
        
       -        // Both of these are fairly distinctive OS env keys used by Netlify.
       -        if os.Getenv("DEPLOY_PRIME_URL") != "" && os.Getenv("PULL_REQUEST") != "" {
       +        // This is always set to true when running on Netlify.
       +        if os.Getenv("NETLIFY") == "true" {
                        // Netlify's cache behaviour is not documented, the currently best example
                        // is this project:
                        // https://github.com/philhawksworth/content-shards/blob/master/gulpfile.js