The website has been built using middleman
- the base layout for all the pages (currently only the main page) is
source/layouts/main.erb
- all the multi-language pages must be placed into the
source/localizable/
folder - all the template fragments must be placed into the
source/partials/
folder and must follow middleman's naming conventions - all the yaml language files must be placed into the
locales/
folder
in the blog/blarticles directory create a new .html.markdown file (or start from one of the existing files) and write the content using standard HTML Page links and indexes will be automatically generated by middleman during build.
Note: Blog post must have a date that is in the past (when building) otherwise they will not appear on the website
in the events/evarticles directory create a new .html.markdown file (or start from one of the existing files) and write the content using standard HTML Page links and indexes will be automatically generated by middleman during build.
Note: Events pages must have a date that is in the past (when building) otherwise they will not appear on the website
$ bundle exec middleman server
Option 1: Publish you local repo directly on ated4kids.ch:
rake publish
if you have uncommitted code in you local repo use:
rake publish ALLOW_DIRTY=true
Option 2:
Commit and push your changes on master branch
$ git commit -m "DESCRIPTION_OF_CHANGE"
$ git push origin
Note: if you don't have permissions to push on yankedev origin, please submit a Pull Request (PR)
The master branch will then be built from codeship.io and deployed on gh-pages branch