The html template for Newsletter and Blog built with hugo.
- Clone the repository
git clone https://github.com/FOSSCellNITC/Newsletter.git
-
Install hugo For Arch based distros
sudo pacman -S hugo
For Debian based distros
sudo apt install hugo
For Fedora
sudo dnf install hugo
For other platforms, check here
-
Start the hugo server after navigating to the repository
hugo server
The server will be running at
localhost:1313
-
Create a new post
hugo new post/<post-name>.md
The post will be created in the
content/posts
folder -
Edit the post in the
content/post
folder -
Add images to the
static
folder. Refer to the existing posts for the image path -
Run
hugo
to build the sitehugo
The site will be built in the
public
folder
8, Run hugo serve
to serve the site
The site will be served at `localhost:1313`
- Push the changes to the repository
git add . git commit -m "commit message" git push origin main