-
Enable GitHub Pages:
- Go to repository Settings → Pages
- Under "Build and deployment", select Source: GitHub Actions
- Save the changes
-
Push your changes:
git add . git commit -m "Integrate Hugo blog with Typo theme" git push origin master
-
Wait for deployment (2-3 minutes):
- Go to Actions tab in GitHub to watch the build
- Once complete, your site will be live at https://antsankov.com
brew install hugo./dev.sh
# Or manually: hugo server -DVisit http://localhost:1313
# Create new post
hugo new content/blog/my-post-title.md
# Edit the file in your editor
# Set draft: false when ready to publish
# Commit and push
git add .
git commit -m "Add new blog post"
git push- / - Your existing homepage (preserved as-is)
- /blog/ - Hugo-powered blog with Typo theme
- /blog/welcome/ - Example first post
Edit hugo.toml to change:
- Site title
- Base URL
- Menu items
- Theme parameters
The Typo theme files are in themes/typo/. You can override any template by creating the same file in the root layouts/ directory.
hugo new content/about.md- Check the Actions tab for error messages
- Ensure all content files have valid front matter
- Verify theme is properly in
themes/typo/
- Ensure
layouts/index.htmlexists - Check that
content/_index.mdis present
- Set
draft: falsein the post's front matter - Check that posts are in
content/blog/directory - Verify date is not in the future