No description
Find a file
2017-12-11 19:52:45 +01:00
.bundle fix hat 2017-12-11 19:02:49 +01:00
commands Fix style warnings 2017-10-13 11:38:02 +02:00
content buttons cammie 2017-12-11 19:52:45 +01:00
data Consistent firstname lastname 2017-09-10 19:23:14 +02:00
layouts fix hat 2017-12-11 19:02:49 +01:00
lib fix order of events 2017-10-12 09:08:08 +02:00
.codeclimate.yml Update .codeclimate.yml 2017-11-16 13:51:45 +01:00
.gitignore Add facebook fetch command 2017-10-03 14:07:39 +02:00
.mdlrc fix some markdown linting 2017-05-22 03:29:42 +02:00
.ruby-version let's try travis 2016-07-18 13:07:45 +02:00
.travis.yml no static host checking 2017-10-14 00:21:07 +02:00
Checks disable html check 2017-05-01 23:56:38 +02:00
deploy.sh test travis 2017-10-14 00:17:12 +02:00
Gemfile scripts at end of body 2017-04-23 15:27:43 +02:00
Gemfile.lock dynamic academic year on about page 2017-09-05 10:14:09 +02:00
Guardfile fix typos ..and a few other things 2017-06-14 09:09:37 +02:00
id_rsa.enc add encrypted ssh key 2016-07-18 13:31:59 +02:00
nanoc.yaml Update for the new academic year already 2017-09-05 10:05:25 +02:00
package-lock.json More elegant event tile 2017-10-11 22:31:19 +02:00
package.json More elegant event tile 2017-10-11 22:31:19 +02:00
README.md fix #188, add fb import tool 2017-10-11 18:07:13 +02:00
Rules update lan and add sponsors 2017-10-21 11:49:28 +02:00

zeus.ugent.be

Build Status Code Climate PageSpeed PageSpeed

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

Events

Events can be fetched from facebook using nanoc fetch [facebook event id]. A file named .fb_token containing an app token for facebook must be present.

Blogposts

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