No description
Find a file
2016-07-24 18:43:58 -04:00
.sass-cache/9a49b57d5f63e6db4d7da45c4d90ec2de2c4e5c8 Import of WordPress News posts 2016-07-15 09:28:15 -04:00
_colors add a style guide section, add existing colors 2016-07-23 01:36:03 -04:00
_components style guide: add buttons 2016-07-24 18:43:58 -04:00
_data Import of WordPress News posts 2016-07-15 09:28:15 -04:00
_drafts Import of WordPress News posts 2016-07-15 09:28:15 -04:00
_i18n Filtered posts per language 2016-07-15 18:44:17 +02:00
_includes add a style guide section, add existing colors 2016-07-23 01:36:03 -04:00
_layouts add a style guide section, add existing colors 2016-07-23 01:36:03 -04:00
_posts Blog section 2016-07-14 14:05:47 -04:00
_sass improve color chips 2016-07-23 02:14:49 -04:00
assets add a style guide section, add existing colors 2016-07-23 01:36:03 -04:00
blog Blog section 2016-07-14 14:05:47 -04:00
community Output i18n content 2016-07-13 13:30:59 -04:00
currency Output i18n content 2016-07-13 13:30:59 -04:00
get-dash Output i18n content 2016-07-13 13:30:59 -04:00
participate Output i18n content 2016-07-13 13:30:59 -04:00
style-guide add a style guide section, add existing colors 2016-07-23 01:36:03 -04:00
.gitignore add a style guide section, add existing colors 2016-07-23 01:36:03 -04:00
_config.yml add a style guide section, add existing colors 2016-07-23 01:36:03 -04:00
index.html Removed i18n html files 2016-07-12 17:33:10 -04:00
README.md Moved base.html login inline 2016-07-14 07:34:04 -04:00

Dash Website

Jekyll

We are using Jekyll to generate the static html files. https://jekyllrb.com

Requirements (mac)

Supporting Gems

These Gems were also installed on the CI server.

Development

jekyll serve Will build to the _site directory whenever a file is changed and serve via 127.0.0.1

jekyll build --watch Will build to the _site directory whenever a file is changed.

Production Build

Production builds should be handled by CI.

i18n

Language variables are set in /_i18n/*.yml files.

Strings

To output a variable to a template use: {% t key %} or {% translate key %}

Files

i18n files can be saved in their corresponding directories under /_i18n/

To include a file use: {% tf pagename/blockname.md %} or {% translate_file pagename/blockname.md %}

Writing a Blog Post

Blog posts can be written in MarkDown (.md) or HTML (.html).

Posts need to be saved in the _posts directory and the filename must always start with YYYY-MM-DD-

For example: 2016-05-12-new-website.md

###Front matter The top page of every post should contain the following (Example):

author: perry
layout: post
image: /assets/images/2016/05/Node40-banner.jpg
title: New website for Node40
description: Check out the new website for Node40