🐣 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTk4NzMsIm5iZiI6MTczOTU1OTU3MywicGF0aCI6Ii81MDk3NzUyLzI2Njc4NDgwOC05OTY3NjQzMC04ODRlLTQyYWItYjkwMS1mNjUzNGEwZDZlZWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTg1OTMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjI0ODg4MmNhYWYxNWM0Njc5OTMyMDQzOTA0ZWQ4YTZjYTkxODdhMWE5Zjk5YTY5ZGYxYWU3NmYwODM3MzQ5OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.qRB0LpgXqN4tHC5nktpHDaa0-joyE6j4wGoQ82p8KC8)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTk4NzMsIm5iZiI6MTczOTU1OTU3MywicGF0aCI6Ii81MDk3NzUyLzI3MzQ0MjA3Ni1lMmUzY2VjZC1jODg0LTQ3ZWMtYjA2NC0xNGY4OTZmZWUwOGQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTg1OTMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDk1NWY3YTY4ZTViYmMzMWU3YjMyNWQ5YjA0ODc0YWYyOGVkMWZmMzhmMWMzMmFiMDgyYmRlYTdhZjVmNzFiZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ozEtAXPZRXsjntI7vFc2ve7mRdl41tALNYVs0IiRLvo)
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.