This is a theme repository for satRday conference websites using the hugo static site generator.
-
Install
hugo
-
Start a new site
hugo new site [city][year] # such as cardiff2018 cd [city][year] git init
-
Install
hugo-satrday-theme
as a submodulegit submodule add https://github.com/satRdays/hugo-satrdays-theme themes/hugo-satrdays-theme
-
copy the
config.toml
from this site into your projects root (i.e./cardiff2018/config.toml
) -
copy the files in
hugo-satrdays-theme/data/projects/
into[city][year]/data/schedule/
e.g./cardiff2018/data/schedule/
-
check if the site builds
hugo serve
go to the port listed in the return to see your site e.g.
localhost:xxxx
, probablylocalhost:1313
-
modify the params in the
config.toml
-
If you want to make the page different in a way not accessible through the
config.toml
the best way is to copy the relevant partial from the theme (e.g.mysite/themes/hugo-satrdays-theme/layouts/patials/clients.html
) and put it into thelayouts
on the root project folder (e.g.mysite/layouts/patials/clients.html
, which you may need to make). This will be 'found first' when the site is generated, and so used instead.