This repository contains the source code for a blog built using Hugo.
This project is a static site generated using Hugo. It is designed to be a simple and fast solution for creating and managing a blog.
- HTML
- Hugo (Static Site Generator)
To add a new page in Hugo, use the following command:
hugo new <section>/<page-name>.md
For example, to create a new blog post, you can run:
hugo new posts/my-new-post.md
To generate the static HTML files from your Hugo site, use the following command:
hugo
This command will build your site and output the generated files to the public
directory.
For exploring different Hugo themes visit the Hugo Templates Documentation.
- Clone the repository
git clone https://github.com/Gupta-Aryaman/blog.git
cd blog
- Install Hugo Follow the instructions on the Hugo Installation Guide to install Hugo on your machine.
- Run the development server
hugo server
Open http://localhost:1313 with your browser to see the result.
For using hugo and hosting it on github-pages, refer this video.
For adding dynamic content (like newsletter) on hugo website, refer this video.