Website: https://iamit.in Blog: https://iamit.in/blog
Built with Hugo and deployed via GitHub Actions to GitHub Pages.
# Serve the site locally with live reload
hugo server
# Open http://localhost:1313 in your browser
# Build the site (outputs to public/)
./build.sh
# Or manually:
hugo --gc --minify
cp public/index.xml public/atom.xml
# Check for broken links
htmltest
Create a new markdown file in content/blog/:
# Format: YYYY-MM-DD-Title.md
touch "content/blog/$(date +%Y-%m-%d)-My-New-Post.md"
Add front matter:
---
date: "2024-01-15"
title: My New Post
tags:
- Tag1
- Tag2
url: /blog/my-new-post/
---
Write your content in Markdown
Preview locally:
hugo server -D # -D includes drafts
Commit and push - GitHub Actions will automatically deploy
āāā content/ # Markdown content
ā āāā blog/ # Blog posts
ā āāā about.md # About page
ā āāā talks.md # Talks page
ā āāā publications.md
āāā layouts/ # Hugo templates
āāā static/ # Static assets (images, CSS, JS)
āāā hugo.toml # Hugo configuration
āāā .github/workflows/
āāā hugo.yml # Deployment workflow
āāā pr-check.yml # PR validation workflow
The site automatically deploys via GitHub Actions when you push to main:
See LICENSE