🐣 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:
![](https://private-user-images.githubusercontent.com/5097752/266784808-99676430-884e-42ab-b901-f6534a0d6eee.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNTY5NzUsIm5iZiI6MTczOTA1NjY3NSwicGF0aCI6Ii81MDk3NzUyLzI2Njc4NDgwOC05OTY3NjQzMC04ODRlLTQyYWItYjkwMS1mNjUzNGEwZDZlZWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMjMxNzU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmU4NzIzMDY4NmQxN2U1MTlhMTQ4ZGU2MzAwNGU4ZWY5YTEyMzc0ZWIzOTBiMzE4MTRjOGNkNDEzYmVmODdmOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Ywv_YLTUo2-O9hWwtrzJ0bBPIOBlCBf-gbptzFNTmZw)
Run the workflow manually if it's not triggered automatically.
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.