Create new post using Hugo

To create a new post in our site, run below command: hugo new content content/posts/new-post.md This will create ’new-post.md’ file with frontmatter. Remove the field ‘draft’ field from frontmatter once the post is ready to be published. By default hugo do not publish the draft posts. Don’t worry, during development we can include draft content using option --buildDrafts or -D. To run hugo server: hugo server To run hugo server with draft content, use:...

January 7, 2025

My journey to this website

I felt writing a webpage is easy when compare to other programming. But making the website beautiful, appealing, responsive to different devices are not for everyone. It is best to leave that hard work to the experts. There are many web application frameworks (ReactJS, Vue.js) that makes website development easier. To design webpages, there are many CSS frameworks such as bootstrap, tailwind. They provide predefined properties that we can use to make our webpage design easy....

March 17, 2024

Hugo for personal website

Hugo’s quick-start is good start. But I would recommend to go through few hugo themes and their installation instructions. I found below YouTube video to be very useful. Things to note while using Hugo: Check the Hugo version, normal or extended while selecting the theme Default config file is hugo.yaml/yml or hugo.toml or hugo.json. We can change the config file while building website by passing option –config. hugo server --config config-papermod....

March 16, 2024