Skip to content

prashantkhurana/my-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Website

Source code for my website located at : https://prashantkhurana.com

Built using hugo and deployed via netlify.

Steps to run locally

  • Clone the repo with recursive flag i.e. git clone --recursive https://github.com/prashantkhurana/my-website.
  • Make sure you have hugo installed.
  • Running hugo server -D will start a hugo server with the contents of the website.
  • Running hugo will put the contents in public directory1. Make sure the new post is not a draft. draft:false
  • Git push. Netlify listens to the public directory and will handle the deploy

Add new blog post

Run hugo new blog/blog-title.md

Debug

Use hugo server -D -l -v to enable verbose logging.

Footnotes

  1. If needed , clear the public directory first (rm -rf public/*) and then run hugo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published