🐣 We make use of this template called Hextra. Information on getting started with Hextra
Here is a link to the guide here on github
if hugo server is installed on your local machine, and you want to test changes out there first, you can use the following command to build a local server on your laptop. On the command line-
$ hugo server --buildDrafts --disableFastRender
Voila! You can see your new site at http://localhost:1313/.
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0NTM0NjMsIm5iZiI6MTcxOTQ1MzE2MywicGF0aCI6Ii81MDk3NzUyLzI2Njc4NDgwOC05OTY3NjQzMC04ODRlLTQyYWItYjkwMS1mNjUzNGEwZDZlZWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjdUMDE1MjQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2FiMDA1NzU2NDk3NmM4YTUzNzkxNGUxM2Q0MGIwMjM1YTM3ODI4NjU0ZDQ3ZWFhMjI1ZWVmZGIyOWY3MjYyOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.1UAXDRCAQUgl0Gql-kKaVDWPLnuAZ0wax6Bfk4U-msc)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0NTM0NjMsIm5iZiI6MTcxOTQ1MzE2MywicGF0aCI6Ii81MDk3NzUyLzI3MzQ0MjA3Ni1lMmUzY2VjZC1jODg0LTQ3ZWMtYjA2NC0xNGY4OTZmZWUwOGQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjdUMDE1MjQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2Y4MTQ2YjBkZTQ2NWIwOTllOTI2NTE2MGMyNGI1NzA5NGEzMmE3MjNmMWQ3NzIyODkxMjRjZDcxYmFkNmQ0NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.mMR9jfadnmF-sFDmn7ylRA6qxKVQwNTSVi5ho7_YDa0)
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.