No description
Find a file
Perry Woodin f5da2712a3 pr7
2016-09-09 12:55:16 -04:00
.sass-cache/9a49b57d5f63e6db4d7da45c4d90ec2de2c4e5c8 Switching computers. 2016-07-27 09:16:06 -04:00
_colors feat: Styling home page 2016-09-05 06:28:22 -04:00
_components style guide: add buttons 2016-07-24 18:43:58 -04:00
_data Team update from Tungfa 2016-08-06 08:34:25 -04:00
_drafts Import of WordPress News posts 2016-07-15 09:28:15 -04:00
_i18n (Update) Navigation: Add basic language menu / Refactor markup structure 2016-09-09 16:13:17 +02:00
_includes pr7 2016-09-09 12:55:16 -04:00
_layouts Merge pull request #2 from seigler/master 2016-07-28 10:52:59 -04:00
_posts Blog section 2016-07-14 14:05:47 -04:00
_sass pr7 2016-09-09 12:55:16 -04:00
assets (Update) Navigation: Add basic language menu / Refactor markup structure 2016-09-09 16:13:17 +02:00
blog Blog section 2016-07-14 14:05:47 -04:00
community Markup for community, get-dash, and participate. 2016-09-07 08:40:05 -04:00
currency Removed console output for budgets. 2016-07-27 11:35:34 -04:00
get-dash Markup for community, get-dash, and participate. 2016-09-07 08:40:05 -04:00
participate Markup for community, get-dash, and participate. 2016-09-07 08:40:05 -04:00
style-guide add a style guide section, add existing colors 2016-07-23 01:36:03 -04:00
team Added team page. 2016-08-02 11:21:09 -04:00
.gitignore i18n plugin 2016-08-09 08:04:06 -04:00
_config.yml (Update) Dependencies: Add bundler and Gemfile (#5) 2016-09-09 12:41:03 -04:00
Gemfile (Update) Dependencies: Add bundler and Gemfile (#5) 2016-09-09 12:41:03 -04:00
Gemfile.lock (Update) Dependencies: Add bundler and Gemfile (#5) 2016-09-09 12:41:03 -04:00
index.html feat: homepage styles 2016-09-05 20:35:50 -04:00
README.md (Update) Dependencies: Add bundler and Gemfile (#5) 2016-09-09 12:41:03 -04:00

Dash Website

Jekyll

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

Requirements (mac)

Supporting Gems

Simply run bundle install and bundler will install all ruby gems/dependencies. Note: The Gems must also be installed on the CI server.

Plugins

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. The master language file is /_i18n/en.yml. All other languages should use that file as a base.

Writing Content

Almost all of the content is defined as a variable in the /_i18n/*.yml files. There will be a separate yml file for each language that is supported. The master

Content should be written with little to no html. Do not wrap the content in <p></p> tags. If you need separate paragraphs, use two line breaks. For example:

Paragraph one


Paragraph two

Will render as:

<p>Paragraph one</p>
<p>Paragraph two</p>

Displaying Content

Strings

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

Markdown

To output a variable to a template as markdown use: {% tmd key %} or {% translatemd 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