Skip to content

A minimal, latex-style hugo theme for personal blogging

License

Notifications You must be signed in to change notification settings

rdumi7ru/hugo-texify2

 
 

Repository files navigation

TeXify2

Hugo License: MIT Build with Hugo gitlint pre-commit.ci status

A minimal, latex-style hugo theme for personal blogging. The successor of the original TeXify

screenshot

Features

  • Social sharing buttons
  • Any comment engine (giscus, remark42, hyvor, etc.)
  • Word Counter and Reading Time
  • Mermaid support
  • DuckDuckGo search
  • Configurable root font size
  • Buymeacoffee widget
  • Auto numbered subtitles
  • Simplified config
  • Hugo modules support
  • Tested on Chrome, Safari, Edge, Firefox
  • Disqus & Google Analytics included
  • Responsive design for mobile devices
  • Customize the site with your stylesheets
  • Math equations powered by KaTeX (MathJax has been deleted)
  • Minimal CSS, No JavaScript, Blazing Fast!

* Diff with the origianl texify is bold

Visit the demo site.

Note: All the features are enabled on the demo site, but you can turn them off on your own project. Check both config.toml of the theme and of the exampleSite.

Usage

Install as git submodule

Install:

git submodule add https://github.com/weastur/hugo-texify2.git themes/hugo-texify2
echo "theme = 'hugo-texify2'" >> hugo.toml

Upgrade:

git submodule foreach git pull origin master

Install as hugo module

Initialize hugo modules, if not done yet:

hugo mod init github.com/<username>/<projectName>

add [module] section to your config.toml:

[module]
[[module.imports]]
  path = 'github.com/weastur/hugo-texify2'

load/update theme module

hugo mod get -u github.com/weastur/hugo-texify2

See config.toml for an example configuration.

Development

Install pre-commit

pre-commit install
make dev

Acknowledgement

The following software inspires the design of this theme:

Support

If you want to support the development or say thanks, become a GitHub Sponsor or

Buy Me A Coffee

About

A minimal, latex-style hugo theme for personal blogging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.8%
  • CSS 44.8%
  • Makefile 0.4%