Skip to content

sea-lab/sea-lab.github.io

 
 

Repository files navigation

Base

As you can see this repository is forked off jasper2 template project, you can find more details about changing the template there.

Maintainance

Updating the people page

Make changes to _data/authors.yml. You can mark people that are graduated with current: False, you can have bio and long_bio, and acceptable values for section are

  faculty
  postdoc
  phd
  masters
  undergrad

If you enter other values they won't show up on people page (silently, with no errors).

Updating the website

Number of builds (published updates) per day is limited, so try to test and check your changes before publishing locally first. To try the site on your machine use bundle exec jekyll serve.

Updating styleseets

This is a bit tricky. Jasper2 styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need Node and Gulp installed globally. This is not a part of jekyll compilation pipeline and should be done manually. After the installation, from the theme's root directory:

$ npm install
$ gulp

Now you can edit /assets/css/ files, which will be compiled to /assets/built/ automatically.

Publishing changes

Just push your changes, Travis CI will build and publish changes. Since the number of builds per day is limited, to not hit the limit you can use some simple tricks. You can have multiple commits locally and push them all at once. Or better, you can use branches properly instead of pushing everything on master. Pushing on other branches won't trigger the deployment pipeline.

Thanks

Many thanks to the Ghost team for all the design work. Also many thanks to all contributors, that help keeping the project alive and updated 😄

Copyright & License

Same licence as the one provided by Ghost's team. See Casper's theme license.

Copyright (C) 2015-2018 - Released under the MIT License.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Languages

  • HTML 52.6%
  • CSS 37.0%
  • JavaScript 5.3%
  • Ruby 4.6%
  • Python 0.5%