Hugo Themes
TeXify
A minimal, latex-style hugo theme for personal blogging
- Author: Queensferry
- Minimum Hugo Version: 0.60
- Updated: 2020-09-02
- License: MIT
- Tags: blog clean latex light minimal responsive simple
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
git clone https://github.com/queensferryme/hugo-theme-texify.git themes/hugo-theme-texify
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&display=swap');
#wrapper {
font-family: 'Latin Modern Roman', 'Times New Roman', 'Noto Serif SC', serif;
}
Development
hugo server \
--buildDrafts \
--config="exampleSite/config.toml" \
--contentDir="exampleSite/content" \
--disableFastRender \
--themesDir=".."
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/