Skip to content

Latest commit

Β 

History

History
112 lines (81 loc) Β· 1.98 KB

File metadata and controls

112 lines (81 loc) Β· 1.98 KB

My Personal Blog

This is the source code for my personal blog built using Hugo and the PaperMod theme.
The blog is deployed at:

πŸ‘‰ https://blog.krish2005.tech

πŸš€ Features

  • 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

πŸ“¦ Tech Stack

  • Hugo (Static Site Generator)
  • PaperMod Theme
  • Cloudflare Pages for hosting
  • Custom Domain

πŸ“ Project Structure

myblog/
β”œβ”€β”€ content/
β”‚   β”œβ”€β”€ about/
β”‚   β”œβ”€β”€ posts/
β”‚   β”œβ”€β”€ search/
β”œβ”€β”€ static/
β”‚   └── images/
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ css/
β”‚   β”‚   └── extended/
β”œβ”€β”€ hugo.toml
└── themes/
    └── PaperMod/

πŸ“ Creating a New Post

Run:

hugo new posts/my-new-post.md

Then write your content inside the newly created Markdown file.

▢️ Running the Blog Locally

hugo server -D

Preview at:

http://localhost:1313

πŸš€ Deploying

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:

hugo

The output appears in the public/ folder.

πŸ”§ Setup Instructions

  1. Install Hugo:

    brew install hugo
  2. Clone this repository:

    git clone https://github.com/Krish2005tech/Blog.git
    cd Blog
  3. Initialize submodules (PaperMod theme):

    git submodule update --init --recursive
  4. Run locally:

    hugo server -D

πŸ“œ License

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