- Ansh Puvvada
- Nishant Sachdeva
- KV Aditya
- Clone the repo on your local machine
- Install hugo (v0.59 and above).
- Find issues with the club website
- Provide ideas and suggestions for improvement
- Contribute by providing content or help in designing the pages
The website is built with Hugo.
- Go to the
content
folder to update content like event content - Go to
layouts
folder to update the webpage design - GO to
data
to update events,images, site params,etc team.yml
contains the memebers of the club, modify it accordingly.activities.yml
contains the list of major events the club does and gets listed in the homepage of your club.event.yml
shows a list of events conducted and gets displayed as a gallery, on the events page.- Modify the
title
andtype
inevent.yml
to reflect the events inactivities.yml
.
- We use,
Hugo
a static site generater to generate the website. - Install Hugo
- Run
hugo server
to run the server on your local machine. Execute this command in the root directory of the project. - If you have drafts, then run
hugo server -D
to view them. Do not keep drafts, and set the value toFalse
when you're done as they do not get deployed on the site. - Make sure to have the latest version Hugo installed.
- Run
hugo new event_name.md
in the/content/your-club-name/archive
. - All the content posts are written in Markdown, and you can look into the Hugo Documentation for more details.
- Modify the
event.yl
file in the/data/your-club-name/
, and add a picture for that event. - Make a new entry directly below the old ones, and give it a picture, and link it to the event-post created in the archive section done earlier. You can do a hardlink if you want(site is deployed on www.clubs.iiit.ac.in/clubs/your-club-name), but preferably make it a relative link, with the link being
{{< ref "/your-club-name/archive/my-post" >}}
. - Add the relavant
type
for it. - If you want to add more than one picture make a seperate entry in `activities,yml
- Go to
layouts/your_club/index.html
and modify the files over there - Go to
data\your_club\homepage.yml
and modify the Hugo variables from there. - Make sure to go to
layouts/partials/club_name/header.html
and change the home path to your club name fromclub_name
The names and the rest are pretty self-explanatory. In case you don't like it, you are free to rewriteindex.html
however you like as a normal html file. - Make sure to have the latest version Hugo installed. I'm currently running v0.59.1.
- Take a look at data.
Raise a GitHub issue, and I'll get back to you within a day.