Hugo Texify2

screenshot of Hugo Texify2
hugo

Hugo Texify2

A minimal, latex-style hugo theme for personal blogging

Overview

TeXify2Hugo is a minimal, latex-style Hugo theme designed for personal blogging. It is the successor of the original TeXify theme and offers a range of features including social sharing buttons, comment engine integration, word counter and reading time display, Mermaid support, DuckDuckGo search, customizable root font size, Buymeacoffee widget, auto-numbered subtitles, simplified configuration, Hugo modules support, responsive design for mobile devices, and more. The theme is lightweight with minimal CSS, no JavaScript, and is optimized for speed.

Features

  • Social sharing buttons: Easily share blog posts on various social media platforms.
  • Comment engine integration: Choose from a variety of comment engines such as Giscus, Remark42, Hyvor, etc.
  • Word Counter and Reading Time: Display the word count and estimated reading time for blog posts.
  • Mermaid support: Use Mermaid syntax to create beautiful diagrams and flowcharts in blog posts.
  • DuckDuckGo search: Enable a search functionality powered by DuckDuckGo.
  • Configurable root font size: Adjust the root font size to customize the typography of the blog.
  • Buymeacoffee widget: Add a Buymeacoffee widget to the blog for easy donations and support.
  • Auto numbered subtitles: Automatically number subtitles in blog posts for better readability.
  • Simplified config: An easy-to-use configuration for setting up the theme.
  • Hugo modules support: Utilize Hugo modules to manage and update the theme.
  • Tested on multiple browsers: Ensured compatibility with Chrome, Safari, Edge, and Firefox.
  • Disqus & Google Analytics included: Integration with Disqus for comments and Google Analytics for website analytics.
  • Responsive design for mobile devices: A mobile-friendly layout that adapts to different screen sizes.
  • Customizable with stylesheets: Customize the appearance of the blog using custom stylesheets.
  • Math equations powered by KaTeX: Render math equations using the KaTeX library.
  • Minimal CSS, No JavaScript, Blazing Fast! A lightweight theme that prioritizes performance and speed.

Installation

  1. Install as a git submodule:
$ git submodule add https://github.com/your-username/TeXify2Hugo.git themes/TeXify2Hugo
  1. Upgrade the theme:
$ git submodule update --remote --merge
  1. Install as a Hugo module:
  • Initialize Hugo modules if not done yet:
$ hugo mod init
  • Add the following section to your config.toml file:
[module]
  [[module.imports]]
    path = "github.com/your-username/TeXify2Hugo"
  • Load or update the theme module:
$ hugo mod get -u ./...

Refer to the config.toml file for an example configuration.

Summary

TeXify2Hugo is a latex-style Hugo theme designed for personal blogging. It offers a range of features including social sharing buttons, comment engine integration, word counter and reading time display, Mermaid support, customizable root font size, Buymeacoffee widget, auto-numbered subtitles, simplified configuration, Hugo modules support, and more. The theme is lightweight, optimized for speed, and provides a responsive design for mobile devices. Installation can be done as a git submodule or as a Hugo module.

hugo
Hugo

Hugo is an open-source static site generator that features fast build times, flexible themes, support for multiple content formats, multilingual websites, live reloading, and an active community. It allows developers to easily create and deploy SEO-friendly and mobile-responsive websites.

blog
Blog

Blog websites feature posts written by one or more authors, organized by categories and tags, with a section for comments and archives sorted by date or topic. Additional features may include search bar, social media sharing, subscription or RSS feed, about and contact pages, and visual content.