Website for CalTTC powered by Jekyll using ThemeFisher's Airspace template.
In the site directory there is a subdirectory named _post
. Adding new Markdown files, will update the Announcements page in reverse chronological order. You can follow the format of previous posts. Make sure that each new post has a YAML header at the top in between ---
markers. Please follow the naming convention of year-month-day-title.md
. Be sure to deploy the site again after the edits.
The name, position, bio and image of the board page are editable in the board.html
. To update the image simply upload the new images to _img
and refer to the images appropiately in the board.html
. Be sure to deploy the site again after the edits.
In order to deploy the site, first ssh
into the OCF server. If you don't know the password, ask Jay Monga ([email protected]).
Then, you can go into the website folder.
cd ~/jekyll/CalTTC
Pull from the GitHub repo to get new changes.
git pull
And lastly, deploy new changes to the webpage
bundle exec jekyll build -d ~/public_html