Hugo Themes
TeXify
A minimal, latex-style hugo theme for personal blogging
- Author: Queensferry
- Minimum Hugo Version: 0.60
- GitHub Stars: 54
- Updated: 2021-07-03
- License: MIT
- Tags: Blog Light Minimal Responsive
TeXify
A minimal, latex-style hugo theme for personal blogging.
Features
- Disqus & Google Analytics included
- Responsive design for mobile devices
- Customize the site with your own styles
- Math equations powered by MathJax
- Minimal CSS, No JavaScript, Blazing Fast!
Usage
Install with:
git submodule add https://github.com/queensferryme/hugo-theme-texify.git themes/hugo-theme-texify
cp themes/hugo-theme-texify/exampleSite/config.toml config.toml
Upgrade with:
git submodule foreach git pull origin master
See exampleSite/config.toml
for an example configuration.
Note that for Simplified Chinese users, it is generally recommended to use Noto Serif SC via Google Fonts. For instance, put the following codes in your static/css/custom.css
:
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;700&display=swap');
#wrapper {
font-family: 'Latin Modern Roman', 'Times New Roman', 'Noto Serif SC', serif;
}
Development
make dev
Acknowledgement
The design of this theme is inspired by the following softwares:
- https://github.com/vincentdoerig/latex-css
- https://github.com/7ma7X/HugoTeX
- https://theme.typora.io/theme/Academic/