🐣 Minimal template for getting started with Hextra
Use this template to create your own repository:
You can also quickly start developing using the following online development environment:
-
Create a new codespace and follow the Local Development to launch the preview
A GitHub Actions workflow is provided in .github/workflows/pages.yaml
to publish to GitHub Pages for free.
For details, see Publishing with a custom GitHub Actions workflow.
Note: in the settings, make sure to set the Pages deployment source to GitHub Actions:
Run the workflow manually if it's not triggered automatically.
Override the configuration:
Pre-requisites: Hugo, Go and Git
# Clone the repo
git clone https://github.com/imfing/hextra-starter-template.git
# Change directory
cd hextra-starter-template
# Start the server
hugo mod tidy
hugo server --logLevel debug --disableFastRender -p 1313
hugo mod get -u
hugo mod tidy
See Update modules for more details.