TeXify2 is a minimal, latex-style Hugo theme for personal blogging that renders posts with a clean, academic aesthetic using Hugo's static site generator. The successor to the original TeXify, it is maintained by weastur and requires Hugo 0.113 or later.
What is TeXify2?
TeXify2 is a Hugo theme designed to mimic the look of LaTeX documents. It takes Markdown content and settings from hugo.toml and outputs a static website with serif typography and an academic layout. The theme is the successor of the original TeXify by queensferryme and supports installation via git submodule or Hugo modules.
Key Features
- KaTeX math support — Equations are rendered with KaTeX; MathJax has been removed from this successor theme.
- Social sharing buttons — Built-in buttons let readers share posts to various social platforms.
- Any comment engine — Compatible with giscus, remark42, hyvor, Disqus, and other external comment systems.
- Word counter and reading time — Displays estimated word count and reading time for each post.
- Mermaid diagrams — Embed flowcharts, sequence diagrams, and other charts directly in content.
- DuckDuckGo search — Built-in search integration that queries DuckDuckGo for site content.
- Simplified configuration — Fewer settings to tune than the original TeXify, with an example configuration in the repo's
hugo.toml.
- Hugo modules support — Install the theme via
hugo mod or as a git submodule.
- Buymeacoffee widget — Optional widget to support the blogger.
- Auto-numbered subtitles — Section subtitles are automatically numbered.
- Responsive design — Tested on Chrome, Safari, Edge, and Firefox, with mobile adaptation.
- Extensible styles — Custom stylesheets can override the default look.
- Minimal and fast — The default output uses minimal CSS and no JavaScript for core rendering; optional features like Mermaid and comments load their own scripts when enabled.
Who is it for?
- Personal bloggers who want a clean, academic-looking writing space without the overhead of a bulky theme.
- Academic writers and researchers who regularly include math equations and want fast KaTeX rendering.
- Hugo developers who prefer a simple, configurable theme that can be added as a module or submodule.
- Minimalists who value a lightweight, responsive design with optional widgets that can be turned off.
What can you do with TeXify2?
- Publish research notes or lecture summaries: Write Markdown with LaTeX-style math and embed Mermaid diagrams to explain workflows.
- Run a personal blog with social sharing: Enable sharing buttons and a Buymeacoffee widget to engage readers and accept tips.
- Build a searchable content site: Use the DuckDuckGo search integration so visitors can find posts by keyword.
- Customize the look without writing code: Adjust root font size, add custom stylesheets, and toggle modular features from
hugo.toml.
How does TeXify2 work?
After installing the theme as a git submodule (git submodule add https://github.com/weastur/hugo-texify2.git themes/hugo-texify2) or as a Hugo module (import path github.com/weastur/hugo-texify2), you set theme = 'hugo-texify2' in your configuration. Hugo then processes your Markdown content and outputs a static site with the enabled styles and widgets.
Pricing
TeXify2 is free and open source under the MIT license, as indicated by the license badge and LICENSE file.
Alternatives
- The original TeXify by queensferryme — the predecessor this theme improves upon with a simplified config and updated dependencies.
- HugoTeX — another LaTeX-inspired Hugo theme that influenced TeXify2's design.
FAQ
Is TeXify2 free?
Yes, TeXify2 is released under the MIT license, so it is free to use, modify, and redistribute for personal and commercial projects.
Does TeXify2 support math equations?
Yes, math equations are rendered with KaTeX. MathJax support was removed compared to the original TeXify, making KaTeX the sole math engine for this theme.
How do I install TeXify2?
Add it as a git submodule with git submodule add https://github.com/weastur/hugo-texify2.git themes/hugo-texify2, or import it as a Hugo module by adding the path github.com/weastur/hugo-texify2 to your hugo.toml. Then set theme = 'hugo-texify2'.
Yes, the theme supports any comment engine, including giscus, remark42, hyvor, and Disqus. You configure the engine in hugo.toml.
Does the theme work on all browsers?
The theme has been tested on Chrome, Safari, Edge, and Firefox, and it features a responsive design for mobile devices.