amu-oss / amu-oss.github.io

AMU OSS Website
https://amu-oss.github.io/
MIT License
0 stars 1 forks source link

Refactor website to use Hugo or Jekyll #2

Closed prateekj117 closed 3 years ago

prateekj117 commented 3 years ago

Describe the issue:

Right now, @pnijhara has simply pushed the _site folder. The website was originally made using Hugo. We can either use Hugo or Jekyll with the same theme. Using the min Hugo/Jekyll website will give us many benefits like writing blogs in markdown if someone else wants to collaborate, using plugins, etc.

Proposed Solution:

GitHub Pages has good support for Jekyll. I haven't had much experience with Hugo (Maybe @pnijhara can help in making this decision). Whoever takes up this issue, the first task is:

jerrycode06 commented 3 years ago

Currently, we are using a greyscale theme on our site and I've found it on Hugo here. I think we are using version 1 because version 2 has some changes now.

pnijhara commented 3 years ago

@jerrycode06 if you are thinking of a complete revamp, then it is good to go with version 2.

jerrycode06 commented 3 years ago

Yup, I am doing it.

pnijhara commented 3 years ago

One more thing. With hugo -D command, you can build the website in a public folder and push the whole project (without the theme that you will clone) to GitHub. You can then set the GitHub page path (in the settings) as amu-oss.github.io/public/. In this way, we will have the access to the markdown files as well.

pnijhara commented 3 years ago

@prateekj117 all the requested changes are pushed now. As suggested by @RJ722 I have added a GitHub action for publishing the website in the gh-pages branch. Thank you @jerrycode06 for the help.