From 73f8b8696a736ff62c5e016d2f72bc531515f279 Mon Sep 17 00:00:00 2001 From: garthdb Date: Fri, 22 Apr 2016 20:28:25 -0600 Subject: [PATCH 1/6] adding jekyll-feed and moving data to the right places. Also cleaining up custom layouts and includes --- _config.yml | 86 ++++--------------- _data/authors.yml | 63 ++++++++++++++ _includes/author.html | 6 ++ _includes/global-header.html | 6 ++ _includes/header.scss | 1 + ...{post_footer.html => post-footer-nav.html} | 0 _includes/post-footer.html | 5 ++ _layouts/default.html | 7 +- _layouts/facebook-academy.html | 49 ++++------- ...pen-design-is-not-design-by-committee.html | 52 ++++++----- _layouts/post.html | 11 +-- ...using-github-for-design-collaboration.html | 2 +- _page.txt => _templates/page.txt | 0 _post.txt => _templates/post.txt | 0 _resource.txt => _templates/resource.txt | 0 ...-open-design-is-not-design-by-committee.md | 4 +- atom.xml | 34 -------- categories.json | 3 - categories.js => js/categories.js | 2 +- js/categories.json | 4 + 20 files changed, 149 insertions(+), 186 deletions(-) create mode 100644 _data/authors.yml create mode 100644 _includes/author.html create mode 100644 _includes/global-header.html create mode 100644 _includes/header.scss rename _includes/{post_footer.html => post-footer-nav.html} (100%) create mode 100644 _includes/post-footer.html rename _page.txt => _templates/page.txt (100%) rename _post.txt => _templates/post.txt (100%) rename _resource.txt => _templates/resource.txt (100%) delete mode 100644 atom.xml delete mode 100644 categories.json rename categories.js => js/categories.js (79%) create mode 100644 js/categories.json diff --git a/_config.yml b/_config.yml index aba7874..f3ccca1 100644 --- a/_config.yml +++ b/_config.yml @@ -1,12 +1,22 @@ +name: Open Source Design +description: We think the best way to improve the design industry is to work in the open. +url: http://opendesign.foundation permalink: /:categories/:title/ highlighter: rouge -url: http://opendesign.foundation -name: Open Source Design excerpt_separator: markdown: kramdown gems: - jekyll-sitemap -exclude: [vendor] + - jekyll-feed +exclude: + - vendor + - Gemfile + - Gemfile.lock + - Guardfile + - Rakefile + - README.md + - CONTRIBUTING.md + - LICENSE sass: sass_dir: _sass style: compressed @@ -16,77 +26,13 @@ compress_html: endings: all comments: [""] post: - template: _post.txt + template: _templates/post.txt extension: md resource: - template: _resource.txt + template: _templates/resource.txt extension: md page: - template: _page.txt + template: _templates/page.txt extension: md -authors: - una: - display_name: Una Kravets - gravatar: 732b3562b0496389b40e548918c38f98 - email: una.kravets@gmail.com - web: http://unakravets.com/ - twitter: una - github: una - bio: 'UI engineer DigitalOcean. Community builder, technical writer, & cohost of Toolsday.' - garthdb: - display_name: Garth Braithwaite - gravatar: b5cf6e112eeee572d722743dea924487 - email: garthdb@gmail.com - web: http://www.garthdb.com/ - twitter: garthdb - github: garthdb - bio: 'Product Designer? and Front End Developer on PhoneGap at Adobe. The Open Design Foundation Founder.' - ttimsmith: - display_name: Tim Smith - gravatar: febbffcb54abe1be1435720fc2268237 - email: smith@ttimsmith.com - web: http://theboldreport.net - twitter: ttimsmith - github: ttimsmith - bio: 'Designer who codes, blabber mouth, and coffee addict.' - areus: - display_name: Areus Wade - gravatar: 3a88629dd9417c822b68af4af685b782 - email: hi@areuswade.com - web: http://areuswade.com - twitter: areus - github: areus - bio: 'Designer in San Diego building precomposed stuff.' - terracomma: - display_name: Christopher Moody - gravatar: 80d7c270dfac1d947d2b3fd39bf70b6a - email: terracomma@gmail.com - web: http://moody.coffee/ - twitter: terracomma - github: terracomma - bio: 'Designer & Developer. Product designer at IBM. Core Contributor The Open Design Foundation. Licensed Intoxicologist.' - vitorio: - display_name: Vitorio Miliano - gravatar: 1b2ea3fc983558c15216a609af35f709 - email: email_re_designers_opensource@vitor.io - web: http://vitor.io - twitter: vitor_io - github: vitorio - bio: 'User experience and interaction designer. I like talking about genuine outbreaks of the future.' - mrondina: - display_name: Mark Rondina - gravatar: 48f5bbc2752b434e2b6d0ec263da193e - email: mark@rondina.net - web: http://www.markrondina.com/ - twitter: mrondina - github: mrondina - bio: 'Interactive designer working in web, games and mobile development.' - jonlau: - display_name: Jonathan Lau - gravatar: 0bed1d08d62923272cb9786f375edcc8 - email: jon@jon.sg - web: http://jon.sg - github: lauweijie - bio: 'Front-end developer.' resourceCategories: ["philosophy", "sources", "redesigns", "inspiration", "tutorials", "showcase"] diff --git a/_data/authors.yml b/_data/authors.yml new file mode 100644 index 0000000..85f0649 --- /dev/null +++ b/_data/authors.yml @@ -0,0 +1,63 @@ +una: + display_name: Una Kravets + gravatar: 732b3562b0496389b40e548918c38f98 + email: una.kravets@gmail.com + web: http://unakravets.com/ + twitter: una + github: una + bio: 'UI engineer DigitalOcean. Community builder, technical writer, & cohost of Toolsday.' +garthdb: + display_name: Garth Braithwaite + gravatar: b5cf6e112eeee572d722743dea924487 + email: garthdb@gmail.com + web: http://www.garthdb.com/ + twitter: garthdb + github: garthdb + bio: 'Product Designer? and Front End Developer on PhoneGap at Adobe. The Open Design Foundation Founder.' +ttimsmith: + display_name: Tim Smith + gravatar: febbffcb54abe1be1435720fc2268237 + email: smith@ttimsmith.com + web: http://theboldreport.net + twitter: ttimsmith + github: ttimsmith + bio: 'Designer who codes, blabber mouth, and coffee addict.' +areus: + display_name: Areus Wade + gravatar: 3a88629dd9417c822b68af4af685b782 + email: hi@areuswade.com + web: http://areuswade.com + twitter: areus + github: areus + bio: 'Designer in San Diego building precomposed stuff.' +terracomma: + display_name: Christopher Moody + gravatar: 80d7c270dfac1d947d2b3fd39bf70b6a + email: terracomma@gmail.com + web: http://moody.coffee/ + twitter: terracomma + github: terracomma + bio: 'Designer & Developer. Product designer at IBM. Core Contributor The Open Design Foundation. Licensed Intoxicologist.' +vitorio: + display_name: Vitorio Miliano + gravatar: 1b2ea3fc983558c15216a609af35f709 + email: email_re_designers_opensource@vitor.io + web: http://vitor.io + twitter: vitor_io + github: vitorio + bio: 'User experience and interaction designer. I like talking about genuine outbreaks of the future.' +mrondina: + display_name: Mark Rondina + gravatar: 48f5bbc2752b434e2b6d0ec263da193e + email: mark@rondina.net + web: http://www.markrondina.com/ + twitter: mrondina + github: mrondina + bio: 'Interactive designer working in web, games and mobile development.' +jonlau: + display_name: Jonathan Lau + gravatar: 0bed1d08d62923272cb9786f375edcc8 + email: jon@jon.sg + web: http://jon.sg + github: lauweijie + bio: 'Front-end developer.' diff --git a/_includes/author.html b/_includes/author.html new file mode 100644 index 0000000..fff421e --- /dev/null +++ b/_includes/author.html @@ -0,0 +1,6 @@ +{% assign author = site.data.authors[page.author] %} + diff --git a/_includes/global-header.html b/_includes/global-header.html new file mode 100644 index 0000000..c5240ed --- /dev/null +++ b/_includes/global-header.html @@ -0,0 +1,6 @@ +
+ diff --git a/_includes/header.scss b/_includes/header.scss new file mode 100644 index 0000000..6053ec3 --- /dev/null +++ b/_includes/header.scss @@ -0,0 +1 @@ +@import 'header'; diff --git a/_includes/post_footer.html b/_includes/post-footer-nav.html similarity index 100% rename from _includes/post_footer.html rename to _includes/post-footer-nav.html diff --git a/_includes/post-footer.html b/_includes/post-footer.html new file mode 100644 index 0000000..d3e17f8 --- /dev/null +++ b/_includes/post-footer.html @@ -0,0 +1,5 @@ + diff --git a/_layouts/default.html b/_layouts/default.html index 3f3dff2..d6f0650 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,12 +2,7 @@ layout: compress --- {% include head.html %} -
- +{% include global-header.html %} {{ content }} {% include global-footer.html %} {% include foot.html %} diff --git a/_layouts/facebook-academy.html b/_layouts/facebook-academy.html index c917b22..dcacf20 100644 --- a/_layouts/facebook-academy.html +++ b/_layouts/facebook-academy.html @@ -37,37 +37,24 @@ - {% include head.html %} -
- -
-
- - {% assign author = site.authors[page.author] %} - -
-

{{ page.title }}

-

Published on

-
-
- {{ content }} -
-
- - {% include post_footer.html %} - {% include comments.html %} -
- -
-
+ {% include head.html %} + {% include global-header.html %} +
+
+ + {% assign author = site.authors[page.author] %} + +
+

{{ page.title }}

+

Published on

+
+
+ {{ content }} +
+ {% include post-footer.html %} + +
+
{% include analytics.html %} diff --git a/_layouts/open-design-is-not-design-by-committee.html b/_layouts/open-design-is-not-design-by-committee.html index 32187f1..69b114f 100644 --- a/_layouts/open-design-is-not-design-by-committee.html +++ b/_layouts/open-design-is-not-design-by-committee.html @@ -11,10 +11,10 @@