Skip to content

wurmlab/wurmlab.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Based on https://github.com/cboettig/labnotebook

Install

Requires ruby 2.7

git clone [email protected]:wurmlab/wurmlab.github.io.git
cd wurmlab.github.io
bundle install

Then you can test what the web site looks like. Run:

bundle exec jekyll serve --incremental --watch

This will rebuild the pages (into _site) every time you save a change, and serve them on a local http server (e.g. http://127.0.0.1:4000).

Maintenance

  • check that links are working: linklint -http -host wurmlab.github.io -doc webstatus /@ outputs information into webstatus folder.
  • check html integrity?
brew install tidy-html5
bundle install
bundle exec rake validate_website 
  • check css integrity?

Old: How this works

  • Edit your files in place (eg. index.html, team/index.html) or write a new post. Use rake newpost[post-name] to create a new post in the _posts folder with the name "post-name".

  • run rake translit to transliterate any weird chars. (no longer necessary becasue we change the locale)

  • rake build creates the site in _site.