Hugo

Browse posts by tag

Create a New Blog Post

February 25, 2025

Create a new blog post in HUGO

  1. Create a new file
hugo new posts/create-a-new-blog-post.md
  1. Add Tag and Category to the header
---
date: '2025-02-25T22:21:46+11:00'
draft: false
title: 'Create a New Blog Post'
tags: ["Hugo", "Blog","Homepage"]
categories: ["Technology"]
---
  1. Edit the blog page
  2. Check the page in debugging mode
hugo server
hugo serve
  1. Open the page from the browser http://localhost:1313/

How to Setup PasteImage

February 9, 2025

How to Paste Images into Your Hugo Blog in VS Code on Mac

1. Install the “Paste Image” Extension in VS Code

  • Open VS Code
  • Press Cmd + Shift + X to open Extensions
  • Search for “Paste Image” by mushanh
  • Click Install

2. Configure the Extension to Save Images in Your Blog Folder

  • Open Settings (Cmd + ,)

  • Search for “pasteImage.path”

  • Set it to:This ensures images are saved inside the same folder as the Markdown file.