🔯 Modern, batteries-included Hugo theme for creating beautiful doc, blog and static websites
  • HTML 63.3%
  • JavaScript 18.8%
  • CSS 14%
  • TypeScript 3.4%
  • Shell 0.5%
Find a file
Xin fb994d6b1c
feat: add custom page section partials (#1004)
* feat: add custom page section partials

* refactor: remove example maintainer banner from customization documentation

* fix: address custom partial review comments
2026-05-29 00:11:30 +01:00
.devcontainer chore: bump dependencies 2026-05-18 22:34:52 +01:00
.github chore: bump dependencies 2026-05-18 22:34:52 +01:00
.vscode chore: bump dependencies 2026-05-18 22:34:52 +01:00
assets feat(search): replace inline search with command palette dialog (#1003) 2026-05-26 00:37:04 +01:00
data feat(context-menu): add page context menu for copy/view Markdown (#908) 2026-01-23 23:40:29 +00:00
docs feat: add custom page section partials (#1004) 2026-05-29 00:11:30 +01:00
examples chore(docs): rename exampleSite to docs and create examples (#813) 2025-09-06 12:06:26 +01:00
i18n feat: add gallery shortcode with PhotoSwipe lightbox (#996) 2026-05-24 22:58:31 +01:00
images chore: update thumbnail image tn.jpg 2025-08-30 14:05:31 +01:00
layouts feat: add custom page section partials (#1004) 2026-05-29 00:11:30 +01:00
static fix: avoid publishing demo cast in theme builds 2026-04-27 20:16:16 +01:00
tests feat(search): replace inline search with command palette dialog (#1003) 2026-05-26 00:37:04 +01:00
.gitattributes refactor(a11y): comprehensive WCAG 2.2 AA accessibility improvements (#924) 2026-02-14 20:06:35 +00:00
.gitignore refactor(a11y): comprehensive WCAG 2.2 AA accessibility improvements (#924) 2026-02-14 20:06:35 +00:00
.prettierrc feat: support github style alerts (#513) 2024-12-14 23:44:10 +00:00
AGENTS.md refactor(a11y): comprehensive WCAG 2.2 AA accessibility improvements (#924) 2026-02-14 20:06:35 +00:00
build.sh build: use latest release tag for docs 2026-05-06 20:35:50 +01:00
CLAUDE.md chore: rename CLAUDE.md to AGENTS.md and remove taskfile 2026-02-02 20:43:06 +00:00
dev.toml chore: fix theme dev PostCSS pipeline 2026-05-17 00:02:25 +01:00
go.mod fix: revert unintentional Go 1.26 hard dependency to Go 1.21 (#950) 2026-02-25 20:56:19 +00:00
hugo.toml feat(context-menu): add page context menu for copy/view Markdown (#908) 2026-01-23 23:40:29 +00:00
LICENSE Initial commit 2023-07-19 22:03:58 +01:00
netlify.toml chore: release blog for Hextra v0.12 2026-02-20 23:08:33 +00:00
package-lock.json chore: bump dependencies 2026-05-18 22:34:52 +01:00
package.json chore: bump dependencies 2026-05-18 22:34:52 +01:00
playwright.config.ts refactor(a11y): comprehensive WCAG 2.2 AA accessibility improvements (#924) 2026-02-14 20:06:35 +00:00
postcss.config.mjs chore: migrate to Tailwind CSS v4.0 (#632) 2025-03-29 12:51:42 +00:00
README.fa.md test(ci): separate mobile menu checks from a11y suite 2026-03-06 23:51:37 +00:00
README.md test(ci): separate mobile menu checks from a11y suite 2026-03-06 23:51:37 +00:00
README.zh-cn.md test(ci): separate mobile menu checks from a11y suite 2026-03-06 23:51:37 +00:00
theme.toml chore: adapt theme to new template system (#696) 2025-06-01 00:25:39 +01:00

Hextra

English | 简体中文 فارسی

Modern, responsive, batteries-included Hugo theme for creating beautiful static websites.

Demo → imfing.github.io/hextra

Hextra
GitHub Actions Status Netlify Status

Features

  • Beautiful Design - Inspired by Nextra, Hextra utilizes Tailwind CSS to offer a modern design that makes your site look outstanding.
  • Responsive Layout and Dark Mode - It looks great on all devices, from mobile to desktop. Dark mode is also supported to accommodate various lighting conditions.
  • Fast and Lightweight - Powered by Hugo, a lightning-fast static-site generator housed in a single binary file, Hextra keeps its footprint minimal. No JavaScript or Node.js are needed to use it.
  • Full-text Search - Built-in offline full-text search powered by FlexSearch, no extra configuration required.
  • Battery-included - Markdown, syntax highlighting, LaTeX math formulae, diagrams and Shortcodes elements to enhance your content. Table of contents, breadcrumbs, pagination, sidebar navigation and more are all automatically generated.
  • Multi-language and SEO Ready - Multi-language sites made easy with Hugo's multilingual mode. Out-of-the-box support is included for SEO tags, Open Graph, and Twitter Cards.
  • Accessibility Support - Interactive components use semantic markup, keyboard-friendly behavior, and automated accessibility checks to keep the UI usable across common assistive workflows.

Quick Start

Use the template

Using the Hextra Starter Template is the simplest method to bootstrap a new website with Hextra theme. Get started by clicking the "Use this template" button on the template repository page.

The template repository also includes a GitHub Actions workflow for deploying your website to GitHub Pages.

Hextra Starter Template

Usage

Refer to the documentation for more information.

Contributing

Contributions are welcome. Check out the contributing guide to get started.

License

MIT License