diff --git a/.eleventy.js b/.eleventy.js index 8460db7..abad1ba 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,4 +1,6 @@ -const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight"); +const Nunjucks = require('nunjucks'); +const nunjucksDate = require('nunjucks-date'); +const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight'); const markdownIt = require('markdown-it'); const markdownItClass = require('@toycode/markdown-it-class'); @@ -15,6 +17,12 @@ const markdownClassMapping = { }; module.exports = function(eleventyConfig) { + let nunjucksEnvironment = new Nunjucks.Environment( + new Nunjucks.FileSystemLoader("_includes") + ); + nunjucksDate.setDefaultFormat('MMMM Do, YYYY'); + nunjucksDate.install(nunjucksEnvironment); + eleventyConfig.addPlugin(syntaxHighlight); const md = markdownIt({ linkify: true, html: true }); @@ -27,4 +35,6 @@ module.exports = function(eleventyConfig) { "pinned", collection => collection.getAllSorted().filter(item => item.data.pinned), ); + + eleventyConfig.setLibrary('njk', nunjucksEnvironment); }; diff --git a/_data/navigation.json b/_data/navigation.json index d2c9c54..78aaa56 100644 --- a/_data/navigation.json +++ b/_data/navigation.json @@ -9,7 +9,7 @@ }, { "title": "Work", - "url": "/work-history/" + "url": "/work/" }, { "title": "Volunteering", diff --git a/_includes/category.njk b/_includes/category.njk new file mode 100644 index 0000000..9a05683 --- /dev/null +++ b/_includes/category.njk @@ -0,0 +1,40 @@ +{% include "base-header.html" %} + +
+
+
+

+ {{ page.fileSlug | capitalize }} +

+
+ {{ content | safe }} +
+
+ +
+ {%- for content in collections[ page.fileSlug ] | reverse -%} +
+

+ +

+ +

+ {{ content.data.title }} +

+

+ {{ content.data.description }} +

+
+ +
+ {%- endfor -%} +
+
+
+ +{% include "base-footer.html" %} + diff --git a/_includes/layout.njk b/_includes/layout.njk index 70f4c16..94c6fd0 100644 --- a/_includes/layout.njk +++ b/_includes/layout.njk @@ -4,14 +4,14 @@

- {{title}} + {{ title }}

-

in {{category}}

+

in {{ tags[0] | capitalize }}

- {{content | safe}} + {{ content | safe }}
diff --git a/_includes/pinned.njk b/_includes/pinned.njk index 6c23662..f7ab28f 100644 --- a/_includes/pinned.njk +++ b/_includes/pinned.njk @@ -12,12 +12,12 @@
- {%- for content in collections.pinned -%} + {%- for content in collections.pinned | reverse -%}
- + - {{ content.data.category }} + {{ content.data.tags[0] | capitalize }}
diff --git a/package-lock.json b/package-lock.json index 458570b..37142a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2262,6 +2262,12 @@ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true }, + "moment": { + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", + "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==", + "dev": true + }, "moo": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/moo/-/moo-0.5.1.tgz", @@ -2340,6 +2346,16 @@ } } }, + "nunjucks-date": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/nunjucks-date/-/nunjucks-date-1.5.0.tgz", + "integrity": "sha512-uB1p4L80eXFwwWYuAcWAm12iZu6/ezfShskHxfU8fQxOKGDdEYZ3E0acUfqU6y4UdHSamC6TYfkyxyB59yHYRQ==", + "dev": true, + "requires": { + "moment": "*", + "nunjucks": "^3.x" + } + }, "nwsapi": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", diff --git a/package.json b/package.json index f14f00e..5ff445e 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "homepage": "https://gitlab.com/gaiety/portfolio#readme", "devDependencies": { "@11ty/eleventy": "^0.11.1", - "@11ty/eleventy-plugin-syntaxhighlight": "^3.0.6" + "@11ty/eleventy-plugin-syntaxhighlight": "^3.0.6", + "nunjucks-date": "^1.5.0" }, "dependencies": { "@toycode/markdown-it-class": "^1.2.4" diff --git a/repos/blabber-comic.md b/repos/blabber-comic.md index 07cfd80..ef5e7f5 100644 --- a/repos/blabber-comic.md +++ b/repos/blabber-comic.md @@ -1,12 +1,10 @@ --- -title: "blabber-comic" +tags: repos +title: blabber-comic +description: Converts chat logs to comics. date: 2018-12-30 --- -> Converts chat logs to comics. - - - [Fork on Gitlab](https://gitlab.com/gaiety/blabber-comic) # Blabber-Comic diff --git a/repos/ember-select-light.md b/repos/ember-select-light.md index 5ac6f1d..592010b 100644 --- a/repos/ember-select-light.md +++ b/repos/ember-select-light.md @@ -1,5 +1,5 @@ --- -category: Repos +tags: repos title: ember-select-light description: Ember Select Light is an Ember Addon focused on simplicity. Just powerful enough to offer expected baseline functionality while being easy to implement, style, and make accessible. date: 2020-11-05 diff --git a/repos/index.md b/repos/index.md new file mode 100644 index 0000000..8f619f0 --- /dev/null +++ b/repos/index.md @@ -0,0 +1,7 @@ +--- +layout: category.njk +eleventyExcludeFromCollections: true +--- + +Code and things + diff --git a/repos/json-query-chain.md b/repos/json-query-chain.md index 4daa42e..c9932f0 100644 --- a/repos/json-query-chain.md +++ b/repos/json-query-chain.md @@ -1,12 +1,10 @@ --- +tags: repos title: "json-query-chain" +description: Chain queries onto POJOs to return precise results. date: 2018-02-23 --- -> Chain queries onto POJOs to return precise results. - - - [Fork on Gitlab](https://gitlab.com/gaiety/json-query-chain) # json-query-chain diff --git a/repos/my_spells.md b/repos/my_spells.md index 9ba3332..9daddfd 100644 --- a/repos/my_spells.md +++ b/repos/my_spells.md @@ -1,12 +1,10 @@ --- -title: "my_spells" +tags: repos +title: my_spells +description: Your personal D&D 5e Spellbook. date: 2019-01-27 --- -> Your personal D&D 5e Spellbook. - - - [Fork on Gitlab](https://gitlab.com/gaiety/my_spells) _Note_: Since the release of Wizards of the Coast's latest online tools, I've discontinued this mobile app. But, I learned a lot along the way in making this :) diff --git a/repos/sortable-recipes.md b/repos/sortable-recipes.md index 0d62af4..1286fb5 100644 --- a/repos/sortable-recipes.md +++ b/repos/sortable-recipes.md @@ -1,5 +1,5 @@ --- -category: Repos +tags: repos title: sortable-recipes description: A sample project for my EmberConf 2020 talk. Leverages Ember Octane and is fully test driven. Includes the RevealJS presentation and a simple Python backend. date: 2020-03-21 diff --git a/repos/svgdir2sprite.md b/repos/svgdir2sprite.md index 1559f7b..eb46751 100644 --- a/repos/svgdir2sprite.md +++ b/repos/svgdir2sprite.md @@ -1,12 +1,10 @@ --- -title: "svgdir2sprite" +tags: repos +title: svgdir2sprite +description: Creates a spritesheet from a directory of svgs. date: 2019-01-03 --- -> Creates a spritesheet from a directory of svgs. - - - [Fork from Gitlab](https://gitlab.com/gaiety/svgdir2sprite) # svgdir2sprite diff --git a/repos/team-cli.md b/repos/team-cli.md index 5c990c6..1987f00 100644 --- a/repos/team-cli.md +++ b/repos/team-cli.md @@ -1,5 +1,5 @@ --- -category: Repos +tags: repos title: team-cli description: Automate all the things with a team-centric CLI. Abstract away annoying day-to-day tasks and eliminate tribal team knowledge by building your team their very own CLI. date: 2019-09-01 diff --git a/volunteering/code2college.md b/volunteering/code2college.md index 2532326..803eaa3 100644 --- a/volunteering/code2college.md +++ b/volunteering/code2college.md @@ -1,5 +1,5 @@ --- -category: Volunteering +tags: volunteering title: "Code 2 College" description: "Interview preparation, event hosting and curriculum planning." date: 2019-01-01 diff --git a/volunteering/gabriellas-smile-foundation.md b/volunteering/gabriellas-smile-foundation.md index 5a22a4e..a4e4b7a 100644 --- a/volunteering/gabriellas-smile-foundation.md +++ b/volunteering/gabriellas-smile-foundation.md @@ -1,12 +1,12 @@ --- -category: Volunteering +tags: volunteering title: "Gabriella’s Smile Foundation" description: "Fighting against DIPG." date: 2019-06-01 --- -# Gabriella’s Smile Foundation -## Stronger than DIPG +## Gabriella’s Smile Foundation +### Stronger than DIPG _A Pro-bono web project done during 2019's Austin Give Camp_ diff --git a/volunteering/index.md b/volunteering/index.md new file mode 100644 index 0000000..0160123 --- /dev/null +++ b/volunteering/index.md @@ -0,0 +1,7 @@ +--- +layout: category.njk +eleventyExcludeFromCollections: true +--- + +Good things + diff --git a/volunteering/theseed.md b/volunteering/theseed.md index 70d3534..5c78e18 100644 --- a/volunteering/theseed.md +++ b/volunteering/theseed.md @@ -1,12 +1,12 @@ --- -category: Volunteering +tags: volunteering title: "Austin Give Camp - The SEED" description: "Adult & Family Learning Community" date: 2016-10-01 --- -# The SEED -## Adult & Family Learning Community +## The SEED +### Adult & Family Learning Community _A Pro-bono web project done during 2016's Austin Give Camp_ diff --git a/work-history/antharia.md b/work-history/antharia.md deleted file mode 100644 index 534d3b0..0000000 --- a/work-history/antharia.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -category: "Work History" -title: "Web Design & Dev Intern at Antharia" -date: 2010-08-01 ---- - -> (Jan 2010 - Aug 2010) -> -> Working with a homegrown CMS, custom coded solutions in response to new situations fueled my learning every day. Never missed an opportunity to learn the backend administrative panels and mySQL databases of real sites. - - - - -# Web Design & Dev Intern at Antharia - -A well designed and functional web presence can make all the difference in boosting any nonprofit’s reputation and quality donations. - -Worked with dozens of local and national non-profits to fix website bugs and add new pages. - diff --git a/work-history/allovue.md b/work/allovue.md similarity index 65% rename from work-history/allovue.md rename to work/allovue.md index 85d6d4f..244ccc5 100644 --- a/work-history/allovue.md +++ b/work/allovue.md @@ -1,17 +1,12 @@ --- -category: "Work History" -title: "Software Engineer at Allovue" +tags: work +title: Software Engineer at Allovue +description: (Aug 2019 - Jul 2020) Building budgeting software in EmberJS to give educators the tools and support they need to allocate resources to the needs of students for a more equitable world. date: 2019-12-08 pinned: false --- -> (Aug 2019 - Jul 2020) -> -> Building budgeting software in EmberJS to give educators the tools and support they need to allocate resources to the needs of students for a more equitable world. - - - -# Software Engineer at Allovue +## Software Engineer at Allovue Empowering educators to strategically and equitably allocate resources to best support the needs of students. We're building budgeting software to give school districts the tools they need to give educators the tools they need. diff --git a/work/antharia.md b/work/antharia.md new file mode 100644 index 0000000..342ae27 --- /dev/null +++ b/work/antharia.md @@ -0,0 +1,13 @@ +--- +tags: work +title: Web Design & Dev Intern at Antharia +description: (Jan 2010 - Aug 2010) Working with a homegrown CMS, custom coded solutions in response to new situations fueled my learning every day. Never missed an opportunity to learn the backend administrative panels and mySQL databases of real sites. +date: 2010-08-01 +--- + +## Web Design & Dev Intern at Antharia + +A well designed and functional web presence can make all the difference in boosting any nonprofit’s reputation and quality donations. + +Worked with dozens of local and national non-profits to fix website bugs and add new pages. + diff --git a/work-history/cyto-communications.md b/work/cyto-communications.md similarity index 57% rename from work-history/cyto-communications.md rename to work/cyto-communications.md index d89c9e9..8c8fff7 100644 --- a/work-history/cyto-communications.md +++ b/work/cyto-communications.md @@ -1,16 +1,11 @@ --- -category: "Work History" -title: "Interactive Technologies Lead & Web Admin at Cyto Communications" +tags: work +title: Interactive Technologies Lead & Web Admin at Cyto Communications +description: (May 2011 - Dec 2012) Developed, designed and animated projects for Host Hotels & Resorts, Johns Hopkins Health System, World Wildlife Fund and more. date: 2012-12-01 --- -> (May 2011 - Dec 2012) -> -> Developed, designed and animated projects for Host Hotels & Resorts, Johns Hopkins Health System, World Wildlife Fund and more. - - - -# Interactive Technologies Lead & Web Admin +## Interactive Technologies Lead & Web Admin Built a web app to walk Johns Hopkins employees through their new healthcare benefits package complete with interactive terminology breakdowns. diff --git a/work-history/eyemaginations.md b/work/eyemaginations.md similarity index 100% rename from work-history/eyemaginations.md rename to work/eyemaginations.md diff --git a/work/index.md b/work/index.md new file mode 100644 index 0000000..98241c4 --- /dev/null +++ b/work/index.md @@ -0,0 +1,7 @@ +--- +layout: category.njk +eleventyExcludeFromCollections: true +--- + +Experience + diff --git a/work-history/q2.md b/work/q2.md similarity index 70% rename from work-history/q2.md rename to work/q2.md index 83d6099..b434efe 100644 --- a/work-history/q2.md +++ b/work/q2.md @@ -1,17 +1,12 @@ --- -category: "Work History" -title: "Developer III at Q2ebanking" +tags: work +title: Developer III at Q2ebanking +description: (Jan 2016 - Aug 2019) Enterprise Ember.js & Vue.js powered banking software used by tens of millions worldwide. Mentoring, writing test automation, and writing a component for native HTML Web Components. date: 2019-08-01 --- -> (Jan 2016 - Aug 2019) -> -> Enterprise Ember.js & Vue.js powered banking software used by tens of millions worldwide. Mentoring, writing test automation, and writing a component for native HTML Web Components. - - - -# Developer III at Q2ebanking -## Stronger communities w/ better financial tools. +## Developer III at Q2ebanking +### Stronger communities w/ better financial tools. [Q2](https://www.q2ebanking.com/) provides a banking platform that interfaces personal and professional banking needs into a single tool. They then offer this as a customizable software as a service to banks and credit unions big or small. Community banks who would have otherwise had to outsource or hire a team to build a platform with potential security holes and poor usability are a thing of the past. diff --git a/work-history/skillsengine.md b/work/skillsengine.md similarity index 97% rename from work-history/skillsengine.md rename to work/skillsengine.md index 2cd3fac..30e93c4 100644 --- a/work-history/skillsengine.md +++ b/work/skillsengine.md @@ -1,5 +1,5 @@ --- -category: Work History +tags: work title: Lead Full-Stack Software Engineer at SkillsEngine description: (Aug 2020 - Present) Working with Texas State Technical College (TSTC) at SkillsEngine to connect employers, educators and students in new ways through technology. date: 2020-08-01 diff --git a/work-history/work-history.json b/work/work.json similarity index 100% rename from work-history/work-history.json rename to work/work.json