zeus.ugent.be/README.md
2016-12-06 10:27:57 +01:00

2.2 KiB

zeus.ugent.be

Build Status

Setup

Installation

bundle install
npm install

Developing

bundle exec nanoc live

This will spawn a webserver, and automatically recompile the site when files get changed.

Deploying

The latest builds on master get deployed automatically using travis.

For manual deployment, run

bundle exec nanoc deploy --target public

Posts

Posts should be written in kramdown, a markdown superset which has a very complete syntax guide.

Meta-tags:

Name Type Required
:title String yes
:created_at Date yes
:description String no
:author String no
:lang String no

Events

Example structure:

content/
  assets/
  events/
    15-16/
    16-17/
      battlebots/
        main.md
        intro.md
        codenight.md
        finale.md
      awk.md
      sed.md
      ruby.md
    index.erb

Metadata

Every event is a .md file with the following metadata tags:

Name Type Required
:title String yes
:time Date yes
:location String yes
:description String no
:created_at Date no
:locationlink String no
:facebook URL no
:banner URL no
:image URL no

Grouped events

If there's a series of events (for example summer code nights) these can be grouped by creating a folder containing a main.md, which will need the following metadata:

Name Type Required
:title String yes
:location String no
:banner URL no

Other .md files made in that folder are sub-events which need to fit the metadata description listed earlier