🐣 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTYyMDIsIm5iZiI6MTczODkxNTkwMiwicGF0aCI6Ii81MDk3NzUyLzI2Njc4NDgwOC05OTY3NjQzMC04ODRlLTQyYWItYjkwMS1mNjUzNGEwZDZlZWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMDgxMTQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTRhODc3NDhhMTIyM2Y0NmYxMDQwNTg1MzU3Y2JhZGYxZTE1YTk3ZjJkZjA0NGJkNzZmNDg3MWJlYWI5YmZkNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ZJZntXoTq-ZapMq31fJe0nYPr-xKHjtVx1Nv5yaGKbg)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTYyMDIsIm5iZiI6MTczODkxNTkwMiwicGF0aCI6Ii81MDk3NzUyLzI3MzQ0MjA3Ni1lMmUzY2VjZC1jODg0LTQ3ZWMtYjA2NC0xNGY4OTZmZWUwOGQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMDgxMTQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWZhMGM0ZDdjNGJkZGUzYmUwOTc3OTZkY2JhZDJjZDQ2ZmVmMzI3NjRlMGVkMjZmYTc1NTlkZTJkZmY0OTNlOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.lbXLbbM97r6CwArJSbtYpkt2bw087dvC_eH8_iu1r_M)
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.