Home

Awesome

Hextra Starter Template

Deploy Hugo site to Pages Netlify Status Vercel Deployment Status

🐣 Minimal template for getting started with Hextra

hextra-template

🌐 Demo ↗

Quick Start

Use this template to create your own repository:

<img src="https://docs.github.com/assets/cb-77734/mw-1440/images/help/repository/use-this-template-button.webp" width=400 />

You can also quickly start developing using the following online development environment:

Deployment

GitHub Pages

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:

<img src="https://github.com/imfing/hextra-starter-template/assets/5097752/99676430-884e-42ab-b901-f6534a0d6eee" width=600 />

Run the workflow manually if it's not triggered automatically.

Netlify

Deploy to Netlify

Vercel

Deploy with Vercel

Override the configuration:

<img src="https://github.com/imfing/hextra-starter-template/assets/5097752/e2e3cecd-c884-47ec-b064-14f896fee08d" width=600 />

Local Development

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

Update theme

hugo mod get -u
hugo mod tidy

See Update modules for more details.