🐣 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NzE0MzgsIm5iZiI6MTczODg3MTEzOCwicGF0aCI6Ii81MDk3NzUyLzI2Njc4NDgwOC05OTY3NjQzMC04ODRlLTQyYWItYjkwMS1mNjUzNGEwZDZlZWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMTk0NTM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGU2ZWYyY2JmZWMyODZmODg2ZmY5ZWJhZWQ5NTEyYmYxNmNkYTk2OTk2ZTczYzIzNzIyMmNhNWY0ODE2NDQ2YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Sw4E6NDBoD2SZh8C2M8uCBhqduVbKeUcwO911zICOjU)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NzE0MzgsIm5iZiI6MTczODg3MTEzOCwicGF0aCI6Ii81MDk3NzUyLzI3MzQ0MjA3Ni1lMmUzY2VjZC1jODg0LTQ3ZWMtYjA2NC0xNGY4OTZmZWUwOGQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMTk0NTM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDBkODM1MTY0MmRkNmQ2N2QyMmZhMTVmYjRkMjhlNTk5OGI4MzFhNThjYjRjZjdkNTAyNGY3Y2EwNDExYjhkMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.pJQ1eIXmzY1QMIajW3df4zWBMcdxBE5tCnNXa1qKfNc)
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.