Clarify Netlify's Hugo versions handling

Hugo version can be forced even to the last release via Netlify console or `netlify.toml`, so "You can see the full list of available Hugo versions in Netlify’s Docker file" doesn't provide any relevant information, it even makes the user think he's bound to Netlify's Docker available Hugo versions.
This commit is contained in:
Victor Massé
2018-02-11 19:36:15 +01:00
committed by Bjørn Erik Pedersen
parent 8f86342cd4
commit 7a708d60e5
@@ -61,7 +61,7 @@ Once selected, you'll be brought to a screen for basic setup. Here you can selec
### Build with a Specific Hugo Version
Setting the build command to `hugo` will build your site according to the current default Hugo version used by Netlify. You can see the full list of [available Hugo versions in Netlify's Docker file][hugoversions].
Setting the build command to `hugo` will build your site according to the current default Hugo version used by Netlify.
If you want to tell Netlify to build with a specific version (hugo <= 0.20), you can append an underscore followed by the version number to the build command:
@@ -103,6 +103,8 @@ Once the build is finished---this should only take a few seconds--you should now
Now every time you push changes to your hosted git repository, Netlify will rebuild and redeploy your site.
See [this blog post](https://www.netlify.com/blog/2017/04/11/netlify-plus-hugo-0.20-and-beyond/) for more details about how Netlify handles Hugo versions.
## Use Hugo Themes with Netlify
The [`git clone` method for installing themes][installthemes] is not supported by Netlify. If you were to use `git clone`, it would require you to recursively remove the `.git` subdirectory from the theme folder and would therefore prevent compatibility with future versions of the theme.