🐣 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTUwNjgsIm5iZiI6MTczOTU1NDc2OCwicGF0aCI6Ii81MDk3NzUyLzI2Njc4NDgwOC05OTY3NjQzMC04ODRlLTQyYWItYjkwMS1mNjUzNGEwZDZlZWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTczOTI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzUzNjc0YTI0MTVlYmM2NDllMTk3M2U4MzhhMzc1YjgzNWJhMmI5YTA0ZGQ0YThkMWZiMGQ3ZWVkYzUzMzg2OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ddztRhS2Q6Bazj_NujfKAmPXoseC5TPoux2Nd6jutzo)
Run the workflow manually if it's not triggered automatically.
Override the configuration:
![](https://private-user-images.githubusercontent.com/5097752/273442076-e2e3cecd-c884-47ec-b064-14f896fee08d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTUwNjgsIm5iZiI6MTczOTU1NDc2OCwicGF0aCI6Ii81MDk3NzUyLzI3MzQ0MjA3Ni1lMmUzY2VjZC1jODg0LTQ3ZWMtYjA2NC0xNGY4OTZmZWUwOGQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTczOTI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDhkZGJjYTdmYWY3OTM0ZWEyYTNhYmNiZGUyYjZhODhlYTg2ZWM3OTZiYTdjYWI5ZmQ2ZDhjZTI0Y2NlNjBhZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.9vmPdeVVvGkh7BVqJzxHrGA8fXT73J1MqKwpNNdFZHQ)
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.