Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Minimal Hugo starter template for Hextra with one-click deploy to GitHub Pages, Netlify, and Vercel.
Hextra Starter Template is a minimal Hugo-based boilerplate for bootstrapping a static website with the Hextra theme, pre-configured for one-click deployment to GitHub Pages, Netlify, and Vercel.
Hextra Starter Template is a GitHub template repository created by imfing, the developer of the Hextra Hugo theme. It provides the minimum file structure needed to launch a Hugo site using Hextra: you click "Use this template," get a new repository, and can immediately develop locally or deploy to three hosting platforms. The template outputs a complete static website and includes a prebuilt demo at https://imfing.github.io/hextra-starter-template/.
hugo mod tidy then hugo server --logLevel debug --disableFastRender -p 1313 to start a live-reloading preview at port 1313.hugo mod get -u followed by hugo mod tidy to update the Hextra theme module to the latest version.Hextra Starter Template is for anyone who wants to build a static site with Hugo and the Hextra theme without starting from scratch. Developers who are new to Hextra can use it to see a working setup instantly. Teams that need a documentation site on GitHub Pages can deploy the built-in workflow with minimal configuration. Contributors who prefer cloud-based editing can jump into GitHub Codespaces and modify the site from a browser.
To start, click the "Use this template" button on GitHub to create your own repository from Hextra Starter Template. For local development, clone that repository, run hugo mod tidy to download dependencies, then start the server with hugo server --logLevel debug --disableFastRender -p 1313. For deployment, either rely on the provided GitHub Actions workflow to build and publish to GitHub Pages, or click the Netlify/Vercel deploy buttons to connect the repository to those platforms.
Yes. The template is a public GitHub repository and is free to use. You can clone it, modify it, and deploy it without paying for the template itself; any hosting costs depend on the provider you select.
You need Hugo, Go, and Git installed. After cloning the repository, run hugo mod tidy to fetch modules, then launch the development server with hugo server --logLevel debug --disableFastRender -p 1313. The server runs at http://localhost:1313.
In your repository settings, set the Pages deployment source to "GitHub Actions." Then push a commit or manually run the workflow named "pages.yaml" from the Actions tab. The workflow builds the site and publishes it to GitHub Pages automatically.
Yes. The README includes a "Deploy to Netlify" button that starts a site import, and a "Deploy with Vercel" button that lets you set the HUGO_VERSION environment variable before deploying. Both services build the Hugo site without extra configuration.
Yes. Click the "Open in GitHub Codespaces" badge in the README to create a cloud development environment. Once the codespace is ready, run the same local development commands to edit and preview the site without installing anything on your machine.
