🔯 Modern, batteries-included Hugo theme for creating beautiful doc, blog and static websites
  • HTML 68.4%
  • JavaScript 18.2%
  • CSS 12.8%
  • Shell 0.6%
Find a file
ghac101 7e56f0578a
Some checks failed
Deploy Hextra docs site to Pages / build (push) Failing after 49s
Deploy Hextra docs site to Pages / deploy (push) Has been skipped
feat(pagination): add option to disable prev/next navigation
* Feature: disable next/previous pagination buttons site-wide

* Moved the displayPagination to the layout level and adjusted the documentation.

* fix: improve pagination docs and layout whitespace

- Fix indentation in docs layout templates
- Add pagination documentation for all languages (fa, ja, zh-cn)
- Simplify documentation to be more succinct

---------

Co-authored-by: Xin <xin@imfing.com>
2026-01-24 12:42:49 +00:00
.devcontainer chore: update Hugo version to 0.147.7 and improve nav-menu script 2025-06-01 17:37:37 +01:00
.github chore(docs): rename exampleSite to docs and create examples (#813) 2025-09-06 12:06:26 +01:00
.vscode chore: add contributing guide 2023-09-10 12:07:04 +01:00
assets fix(layout): make content width respect page.width config (#911) 2026-01-24 00:02:50 +00:00
content/glossary feat(glossary): provide basic term glossary (#869) 2026-01-19 22:33:09 +00:00
data feat(context-menu): add page context menu for copy/view Markdown (#908) 2026-01-23 23:40:29 +00:00
docs feat(pagination): add option to disable prev/next navigation 2026-01-24 12:42:49 +00:00
examples chore(docs): rename exampleSite to docs and create examples (#813) 2025-09-06 12:06:26 +01:00
i18n feat(context-menu): add page context menu for copy/view Markdown (#908) 2026-01-23 23:40:29 +00:00
images chore: update thumbnail image tn.jpg 2025-08-30 14:05:31 +01:00
layouts feat(pagination): add option to disable prev/next navigation 2026-01-24 12:42:49 +00:00
static feat(shortcode): add shortcode for asciinema (#779) 2025-08-25 08:50:53 +01:00
.gitignore chore: move content to exampleSite 2023-08-16 20:42:32 +01:00
.prettierrc feat: support github style alerts (#513) 2024-12-14 23:44:10 +00:00
build.sh chore(build): update MAIN_VERSION to v0.11.1 and change source directory to docs 2025-09-06 14:03:29 +01:00
CLAUDE.md chore(docs): rename exampleSite to docs and create examples (#813) 2025-09-06 12:06:26 +01:00
dev.toml chore(docs): rename exampleSite to docs and create examples (#813) 2025-09-06 12:06:26 +01:00
go.mod hugo init 2023-08-16 20:38:01 +01: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(docs): rename exampleSite to docs and create examples (#813) 2025-09-06 12:06:26 +01:00
package-lock.json chore: update dependencies in package.json and package-lock.json 2026-01-18 10:58:06 +00:00
package.json chore: update dependencies in package.json and package-lock.json 2026-01-18 10:58:06 +00:00
postcss.config.mjs chore: migrate to Tailwind CSS v4.0 (#632) 2025-03-29 12:51:42 +00:00
README.fa.md chore: add i18n links in README (#374) 2024-04-28 11:24:21 +01:00
README.md chore: add i18n links in README (#374) 2024-04-28 11:24:21 +01:00
README.zh-cn.md docs: updated translation in the Chinese README 2024-10-15 18:12:56 +01:00
taskfile.yaml chore(docs): rename exampleSite to docs and create examples (#813) 2025-09-06 12:06:26 +01: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.

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