https://github.com/axect/hugo_blog
Axect's Blog
https://github.com/axect/hugo_blog
Last synced: 2 months ago
JSON representation
Axect's Blog
- Host: GitHub
- URL: https://github.com/axect/hugo_blog
- Owner: Axect
- Created: 2020-05-20T13:46:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-03T03:17:29.000Z (4 months ago)
- Last Synced: 2025-03-19T22:17:25.625Z (3 months ago)
- Language: HTML
- Size: 7.3 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blog with Hugo
## First steps after clone
1. Submodule init: `git submodule init`
2. Submodule update: `git submodule update`
3. Build with theme: `hugo -t hello-friend-ng`## Deploy process
1. Add new post: `hugo new posts/test.md`
2. Write & fix meta data: `draft: false`
3. Build with theme: `hugo -t hello-friend-ng`
4. Publish public: `cd public && gitu`## Tips
### Mathjax font size
Fix scale of `themes/hello-friend-ng/layouts/partials/mathjax_support.html`
### Font family
Change font in `themes/hello-friend-ng/assets/scss/_main.scss`
### Write short code
Add `SOME_CODE.html` to `layouts/shortcodes/`