Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 1.24 KB

README.md

File metadata and controls

59 lines (46 loc) · 1.24 KB

FOSSCellNITC Newsletter

The html template for Newsletter and Blog built with hugo.

How to Contribute

  1. Clone the repository
git clone https://github.com/FOSSCellNITC/Newsletter.git
  1. 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

  2. Start the hugo server after navigating to the repository

    hugo server

    The server will be running at localhost:1313

  3. Create a new post

    hugo new post/<post-name>.md

    The post will be created in the content/posts folder

  4. Edit the post in the content/post folder

  5. Add images to the static folder. Refer to the existing posts for the image path

  6. Run hugo to build the site

    hugo

    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`
  1. Push the changes to the repository
    git add .
    git commit -m "commit message"
    git push origin main