Hugo Themes
Diary
Moments piled up. A simple, elegant blog theme.
- Author: amazingrise
- GitHub Stars: 448
- Updated: 2023-07-10
- License: MIT
- Tags: Blog
Hugo Theme Diary
A Hugo theme ported from SumiMakito/hexo-theme-Journal.
Features
Features of this theme
- Customizable: Easy to customize with detailed project wiki.
- Adaptive: Mobile-friendly & widescreen-friendly.
- Abundant: 3rd. service intergration (Gitalk, LiveRe, Disqus, Waline, Twikoo, Google Search, Analytics… ).
- Convenient: Table of Contents with scroll spy.
- Professional: LaTeX support (disabled by default).
- Graceful: Dark mode (automatic or manual switch).
- International: English, Chinese (CHS/CHT), French, German, Portuguese(Brazil) support.
- …
For details, please visit project wiki.
Features in new version
CHANGELOG
1.3.0:
- Removed jQuery and other redundant scripts.
- Some improvements on performance.
Quick Start
Click to expand
If your website is using Git as version control, please do as follows:
- Fetch the theme dir.
From the root of your Hugo site, open the terminal and execute:
git submodule add https://github.com/AmazingRise/hugo-theme-diary.git themes/diary
- Update git repository.
Then update the git repository from the root of your site:
git submodule update --remote --merge
- Run example site.
From the root of themes/diary/exampleSite:
hugo server --themesDir ../..
Personalization
Example config
Customization
- Wiki Home
- Configurations
- 3rd. party services
- Writing
- Styling
- Troubleshooting