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-themeas a submodulegit submodule add https://github.com/satRdays/hugo-satrdays-theme themes/hugo-satrdays-theme -
copy the
config.tomlfrom 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 servego 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.tomlthe 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 thelayoutson 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.