Navigation Menu

Skip to content

OSAC/osac.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSAC Website

The website is made with Hugo, a static site generator.

The theme used is hugo DPSG which is a fork of Mainroad Hugo theme.

To learn more about hugo visit its documentation: https://gohugo.io/documentation/

Installation

Download hugo from here, here is a video tutorial.

Clone this repository

git clone --recurse-submodules https://github.com/osac/osac.github.io

Then use,

go server -D

To open up a localhost server. Go to browser at http://localhost:1313 or the url specified in output to above command.

Adding A blog post

Go to content/post/ folder. Copy existing post and give it new name. Change the front matter tags to appropirate one and write your post in markdown.

If you need to add images, put them in /static/img/ folder by creating a directory same as post name and placing images inside that directory.

You can view your changes through the go server -D command as mentioned above.