This is the source code for my personal blog built using Hugo and the PaperMod theme.
The blog is deployed at:
- Fast static site powered by Hugo
- Clean and modern design with PaperMod
- Responsive layout for mobile and desktop
- Syntax-highlighted code blocks
- Light/Dark theme toggle
- Search page
- Archives page
- Custom About page
- Easy to write posts using Markdown
- Hugo (Static Site Generator)
- PaperMod Theme
- Cloudflare Pages for hosting
- Custom Domain
myblog/
├── content/
│ ├── about/
│ ├── posts/
│ ├── search/
├── static/
│ └── images/
├── assets/
│ ├── css/
│ │ └── extended/
├── hugo.toml
└── themes/
└── PaperMod/
Run:
hugo new posts/my-new-post.mdThen write your content inside the newly created Markdown file.
hugo server -DPreview at:
http://localhost:1313
This site is deployed via Cloudflare Pages with:
- Build command:
hugo - Output directory:
public - Environment variable:
HUGO_VERSION = 0.152.2
To build the static site locally:
hugoThe output appears in the public/ folder.
-
Install Hugo:
brew install hugo
-
Clone this repository:
git clone https://github.com/Krish2005tech/Blog.git cd Blog -
Initialize submodules (PaperMod theme):
git submodule update --init --recursive
-
Run locally:
hugo server -D
This blog's source code is open for learning and personal reference. The posts/content are not allowed to be reused without permission.
Built with ❤️ using Hugo and PaperMod