diff --git a/.gitignore b/.gitignore index b8830ed..64e58ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.sw? _site _pages +node_modules diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..a85d99d --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +nodebots15.codemash.org \ No newline at end of file diff --git a/README.md b/README.md index e6718fa..68e8343 100644 --- a/README.md +++ b/README.md @@ -1 +1,7 @@ -Read the docs: http://bruth.github.io/jekyll-docs-template +# Website for [NodeBots.CodeMash.org](http://nodebots.codemash.org) + +![NodeBots CodeMash logo](assets/nodebots.codemash.final.png) + +This site uses [Jekyll](http://jekyllrb.com/) and GitHub Pages to host. **Pull Requests are accepted!** If it is just a small Markdown change, you can go into the "_posts" folder right from GitHub to edit and create an automatic fork/PR without cloning the repo onto your machine. If you want to do more, install Jekyll, clone the repo, and run `jekyll serve --watch` from the "gh-pages" branch. + +**Note**: This is the site for Nodebots @Codemash 2015. For the 2016 event, please see [the NodeBots Unleashed site.](https://github.com/CareEvolution/nodebots-unleashed-codemash-docs) diff --git a/_config.yml b/_config.yml index 9c4a356..1a42c87 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,6 @@ # Site title and subtitle. This is used in _includes/header.html -title: 'jekyll-docs-template' -subtitle: 'Painless documentation for your projects' +title: 'NodeBots @CodeMash' +subtitle: 'Documentation for your building pleasure' # Enable/show navigation. There are there options: # 0 - always hide @@ -9,11 +9,12 @@ subtitle: 'Painless documentation for your projects' navigation: 2 # URL to source code, used in _includes/footer.html -codeurl: 'https://github.com/bruth/jekyll-docs-template' +codeurl: 'https://github.com/BrianGenisio/codemash-nodebots-docs' # Default categories (in order) to appear in the navigation sections: [ ['doc', 'Documentation'], + ['act', 'Activities'], ['tut', 'Tutorial'], ['ref', 'Reference'], ['dev', 'Developers'], @@ -28,11 +29,13 @@ baseurl: '' permalink: none # Syntax highlighting -pygments: true +highlighter: pygments # Since these are pages, it doesn't really matter future: true +include: ['assets', 'fonts', 'css'] + # Exclude non-site files exclude: ['bin', 'README.md'] diff --git a/_includes/header.html b/_includes/header.html index 8433bac..4529d8c 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,4 +1,17 @@ -

{{ site.title }} +

+
+ + +
diff --git a/_includes/navigation.html b/_includes/navigation.html index 88aa9d7..67d7a7c 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -1,16 +1,9 @@ - + {% if category.size %} + {% include sidebar-panel.html %} + {% endif %} +{% endfor %} diff --git a/_includes/sidebar-panel.html b/_includes/sidebar-panel.html new file mode 100644 index 0000000..0957a78 --- /dev/null +++ b/_includes/sidebar-panel.html @@ -0,0 +1,15 @@ +
+
+ {{ label }} +
+
+ +
+
diff --git a/_layouts/default.html b/_layouts/default.html index bfad2d6..9aac623 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,43 +8,48 @@ {{ site.title }}{% if page.title %} : {{ page.title }}{% endif %} - + + + + -
-
- + -
+
+
{% assign post_count = site.posts|size %} {% if site.navigation != 0 and site.navigation == 1 or post_count > 0 %} -