e9ec96aee7 | ||
---|---|---|
.. | ||
.devcontainer | ||
.vscode | ||
.npmignore | ||
README.md |
README.md
IMPORTANT NOTE: This Template is deprecated and is no longer supported.
Hugo
Summary
Develop static sites with Hugo, includes everything you need to get up and running.
Metadata | Value |
---|---|
Contributors | Aaryn Smith |
Categories | Community, Frameworks |
Definition type | Dockerfile |
Works in Codespaces | Yes |
Container host OS support | Linux, macOS, Windows |
Container OS | Debian |
Languages, platforms | Hugo |
This development container includes the Hugo static site generator as well as Node.js (to help with working on themes).
There are 3 configuration options in the devcontainer.json
file:
VARIANT
: the default value ishugo
. Set this tohugo_extended
if you want to use SASS/SCSSVERSION
: version of Hugo to download, e.g.0.71.1
. The default value islatest
, which always picks the latest version available.NODE_VERSION
: version of Node.js to use, for example14
(the default value)
The .vscode
folder additionally contains a sample tasks.json
file that can be used to set up Visual Studio Code tasks for working with Hugo sites.
Using this definition
-
If this is your first time using a development container, please see getting started information on setting up Remote-Containers or creating a codespace using GitHub Codespaces.
-
Start VS Code and open your project folder or connect to a codespace.
-
Press F1 select and Add Development Container Configuration Files... command for Remote-Containers or Codespaces.
Note: If needed, you can drag-and-drop the
.devcontainer
folder from this sub-folder in a locally cloned copy of this repository into the VS Code file explorer instead of using the command. -
Select this definition. You may also need to select Show All Definitions... for it to appear.
-
Finally, press F1 and run Remote-Containers: Reopen Folder in Container or Codespaces: Rebuild Container to start using the definition.
License
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See LICENSE.