diff --git a/pages/404.njk b/pages/404.njk index 7c6ea6af..cf11513b 100644 --- a/pages/404.njk +++ b/pages/404.njk @@ -8,13 +8,13 @@ permalink: /404.html

Not Found

- Sorry, I couldn't find what you were looking for. It either: + Sorry, I couldn't find what you were looking for. It either:

- Have a look at the home page. You might be able to find it from there. + Have a look at the home page. You might be able to find it from there.

diff --git a/pages/cats/index.njk b/pages/cats/index.njk index 1e4e3645..7d1edf25 100644 --- a/pages/cats/index.njk +++ b/pages/cats/index.njk @@ -9,22 +9,22 @@ layout: default {% from 'partials/macros/cat-picture.njk' import catPicture %} {% set imagesRendered = 0 %} {% for month, monthData in global.catsByMonth %} - {% if loop.index <= 3 %} -

{{ monthData.name }}

-
- {% set altText %}Collection of pictures of my cats, Goose and Barry, taken during {{ monthData.name }}.{% endset %} - {% for image in monthData.pictures %} - {% set imagesRendered = imagesRendered + 1 %} - {% if loop.index > 1 %} - {% set altText = "" %} - {% endif %} - {{ catPicture(image, imagesRendered, 4, altText) }} - {% endfor %} -
- {% elseif loop.index === 4 %} -

Older Pictures

-

{{ monthData.name }}

- {% else %} -

{{ monthData.name }}

- {% endif %} + {% if loop.index <= 3 %} +

{{ monthData.name }}

+
+ {% set altText %}Collection of pictures of my cats, Goose and Barry, taken during {{ monthData.name }}.{% endset %} + {% for image in monthData.pictures %} + {% set imagesRendered = imagesRendered + 1 %} + {% if loop.index > 1 %} + {% set altText = "" %} + {% endif %} + {{ catPicture(image, imagesRendered, 4, altText) }} + {% endfor %} +
+ {% elseif loop.index === 4 %} +

Older Pictures

+

{{ monthData.name }}

+ {% else %} +

{{ monthData.name }}

+ {% endif %} {% endfor %} diff --git a/pages/cats/month.njk b/pages/cats/month.njk index cc7a5a21..ed6b35ee 100644 --- a/pages/cats/month.njk +++ b/pages/cats/month.njk @@ -16,26 +16,26 @@ eleventyExcludeFromCollections: true {% block content %}
-

Pictures of Cats: {{ global.catsByMonth[month].name }}

+

Pictures of Cats: {{ global.catsByMonth[month].name }}

-
- {% set altText %}Collection of pictures of my cats, Goose and Barry, taken during {{ global.catsByMonth[month].name }}.{% endset %} - {% from 'partials/macros/cat-picture.njk' import catPicture %} - {% for image in global.catsByMonth[month].pictures %} - {% if loop.index > 1 %} - {% set altText = "" %} - {% endif %} - {{ catPicture(image, loop.index, 6, altText) }} - {% endfor %} -
+
+ {% set altText %}Collection of pictures of my cats, Goose and Barry, taken during {{ global.catsByMonth[month].name }}.{% endset %} + {% from 'partials/macros/cat-picture.njk' import catPicture %} + {% for image in global.catsByMonth[month].pictures %} + {% if loop.index > 1 %} + {% set altText = "" %} + {% endif %} + {{ catPicture(image, loop.index, 6, altText) }} + {% endfor %} +
- +
{% endblock %} diff --git a/pages/feed.njk b/pages/feed.njk index d213f85c..e82c1fe9 100644 --- a/pages/feed.njk +++ b/pages/feed.njk @@ -1,36 +1,36 @@ ---json { - "permalink": "feed.xml", - "eleventyExcludeFromCollections": true, - "metadata": { - "title": "Dustin Whisman", - "subtitle": "The collected writings of Dustin Whisman, full stack developer.", - "language": "en", - "url": "https://dustinwhisman.com", - "author": { - "name": "Dustin Whisman" - } - } + "permalink": "feed.xml", + "eleventyExcludeFromCollections": true, + "metadata": { + "title": "Dustin Whisman", + "subtitle": "The collected writings of Dustin Whisman, full stack developer.", + "language": "en", + "url": "https://dustinwhisman.com", + "author": { + "name": "Dustin Whisman" + } + } } --- - - {{ metadata.title }} - {{ metadata.url }} - - {{ metadata.subtitle }} - {{ metadata.language }} - {%- for post in collections.writing | reverse %} - {%- set absolutePostUrl = metadata.url + post.url %} - - {{ post.data.articleTitle }} - {{ absolutePostUrl }} - {{ post.data.description }} - {{ post.date.toUTCString() }} - {{ metadata.author.name }} - {{ absolutePostUrl }} - - {%- endfor %} - + + {{ metadata.title }} + {{ metadata.url }} + + {{ metadata.subtitle }} + {{ metadata.language }} + {%- for post in collections.writing | reverse %} + {%- set absolutePostUrl = metadata.url + post.url %} + + {{ post.data.articleTitle }} + {{ absolutePostUrl }} + {{ post.data.description }} + {{ post.date.toUTCString() }} + {{ metadata.author.name }} + {{ absolutePostUrl }} + + {%- endfor %} + diff --git a/pages/index.njk b/pages/index.njk index d06b36b0..507566f1 100644 --- a/pages/index.njk +++ b/pages/index.njk @@ -5,80 +5,80 @@ layout: default ---

- Dustin Whisman: Full Stack Developer + Dustin Whisman: Full Stack Developer

-
- - - - One of few salvageable photos of me from vacation in Switzerland. I'm almost smiling like a normal person. - -

- Hi, I'm Dustin. I'm a Full Stack Developer and - Web - Accessibility Specialist at - Sparkbox, where I write HTML, CSS, - JavaScript, and whatever other webby stuff our clients need. -

-

- I'm a generalist, so I'd say my strongest skill is problem solving. And - I always prioritize accessibility, performance, and the user experience - of whatever I'm building with whatever tools I'm building them with. -

-
+
+ + + + One of few salvageable photos of me from vacation in Switzerland. I'm almost smiling like a normal person. + +

+ Hi, I'm Dustin. I'm a Full Stack Developer and + Web + Accessibility Specialist at + Sparkbox, where I write HTML, CSS, + JavaScript, and whatever other webby stuff our clients need. +

+

+ I'm a generalist, so I'd say my strongest skill is problem solving. And + I always prioritize accessibility, performance, and the user experience + of whatever I'm building with whatever tools I'm building them with. +

+
-
-

Recent Projects

- -
+
+

Recent Projects

+ +
-
-

Recent Writing

- -
+
+

Recent Writing

+ +
-
-

Recent Pictures of Cats

-
- {% set altText = "Collection of the most recent pictures of my cats, Goose and Barry." %} - {% from 'partials/macros/cat-picture.njk' import catPicture %} - {% for image in global.picturesOfCats %} - {% if loop.index <= 4 %} - {% if loop.index > 1 %} - {% set altText = "" %} - {% endif %} - {{ catPicture(image, loop.index, 0, altText) }} - {% endif %} - {% endfor %} -
-
+
+

Recent Pictures of Cats

+
+ {% set altText = "Collection of the most recent pictures of my cats, Goose and Barry." %} + {% from 'partials/macros/cat-picture.njk' import catPicture %} + {% for image in global.picturesOfCats %} + {% if loop.index <= 4 %} + {% if loop.index > 1 %} + {% set altText = "" %} + {% endif %} + {{ catPicture(image, loop.index, 0, altText) }} + {% endif %} + {% endfor %} +
+
diff --git a/pages/projects/index.njk b/pages/projects/index.njk index 3d71e3d1..56dac144 100644 --- a/pages/projects/index.njk +++ b/pages/projects/index.njk @@ -7,78 +7,78 @@ layout: default

Projects

- These are the projects I've worked on recently, both for clients and as - personal side projects. I've done way more stuff, but almost everything before - 2021 is behind authentication or lives on intranets. Bad news for fans of B2B - logistics applications… + These are the projects I've worked on recently, both for clients and as + personal side projects. I've done way more stuff, but almost everything before + 2021 is behind authentication or lives on intranets. Bad news for fans of B2B + logistics applications…

List of projects, from 2021 to now

- But what did I do? + But what did I do?

- As a more experienced developer, I end up wearing different hats on different - projects. I've indicated my role(s) for each project, and this what I actually - did according to those roles. + As a more experienced developer, I end up wearing different hats on different + projects. I've indicated my role(s) for each project, and this what I actually + did according to those roles.

-
-
- Feature Lead -
-
- I was responsible for planning a subset of the project's overall work. - This usually happens when there is a lot of work to do and enough team - members to split between different efforts. -
-
+
+
+ Feature Lead +
+
+ I was responsible for planning a subset of the project's overall work. + This usually happens when there is a lot of work to do and enough team + members to split between different efforts. +
+
-
-
- Individual Contributor -
-
- I wrote code for this project, usually as part of a team or in the case of - side projects, by myself. -
-
+
+
+ Individual Contributor +
+
+ I wrote code for this project, usually as part of a team or in the case of + side projects, by myself. +
+
-
-
- Product Owner -
-
- I was at least partially responsible for the overall vision of the - project, providing feedback and direction for the features that the - project needed. -
-
+
+
+ Product Owner +
+
+ I was at least partially responsible for the overall vision of the + project, providing feedback and direction for the features that the + project needed. +
+
-
-
- Tech Lead -
-
- I was responsible for planning and prioritizing work on the project. That - includes making architectural decisions, writing issues/cards/tickets, - reviewing PRs, and generally helping to unblock work. -
-
+
+
+ Tech Lead +
+
+ I was responsible for planning and prioritizing work on the project. That + includes making architectural decisions, writing issues/cards/tickets, + reviewing PRs, and generally helping to unblock work. +
+
diff --git a/pages/routes.njk b/pages/routes.njk index 921fd699..cf8fba9d 100644 --- a/pages/routes.njk +++ b/pages/routes.njk @@ -3,10 +3,10 @@ permalink: /routes.json eleventyExcludeFromCollections: true --- [ - {% for page in collections.all %} - "{{ page.url | url }}", - {% endfor %} - {% for month, monthData in global.catsByMonth %} - "/cats/{{ month }}/"{% if not loop.last %},{% endif %} - {% endfor %} + {% for page in collections.all %} + "{{ page.url | url }}", + {% endfor %} + {% for month, monthData in global.catsByMonth %} + "/cats/{{ month }}/"{% if not loop.last %},{% endif %} + {% endfor %} ] diff --git a/pages/sitemap.njk b/pages/sitemap.njk index 5ff18520..219041f8 100644 --- a/pages/sitemap.njk +++ b/pages/sitemap.njk @@ -4,15 +4,15 @@ eleventyExcludeFromCollections: true --- - {% for page in collections.all %} - - {{ processEnv.BASE_URL }}{{ page.url | url }} - {{ page.date.toISOString() }} - - {% endfor %} - {% for month, monthData in global.catsByMonth %} - - {{ processEnv.BASE_URL }}/cats/{{ month }}/ - - {% endfor %} + {% for page in collections.all %} + + {{ processEnv.BASE_URL }}{{ page.url | url }} + {{ page.date.toISOString() }} + + {% endfor %} + {% for month, monthData in global.catsByMonth %} + + {{ processEnv.BASE_URL }}/cats/{{ month }}/ + + {% endfor %} diff --git a/pages/writing/eleventy-starter-template/index.njk b/pages/writing/eleventy-starter-template/index.njk index 956e4947..e5d986ed 100644 --- a/pages/writing/eleventy-starter-template/index.njk +++ b/pages/writing/eleventy-starter-template/index.njk @@ -7,23 +7,23 @@ layout: default

Eleventy Starter Template Series

- I wrote this tutorial series for the - Sparkbox Foundry - in 2022. It goes deep into architectural decisions and strategies for creating - a starter template that has all of the typical project needs covered right out - of the box. + I wrote this tutorial series for the + Sparkbox Foundry + in 2022. It goes deep into architectural decisions and strategies for creating + a starter template that has all of the typical project needs covered right out + of the box.

    - {% for article in collections['eleventy starter template'] %} -
  1. - {{ article.data.articleTitle }} - - Published: - - -
  2. - {% endfor %} + {% for article in collections['eleventy starter template'] %} +
  3. + {{ article.data.articleTitle }} + + Published: + + +
  4. + {% endfor %}
diff --git a/pages/writing/index.njk b/pages/writing/index.njk index c93d01fb..c65db842 100644 --- a/pages/writing/index.njk +++ b/pages/writing/index.njk @@ -12,47 +12,47 @@ pagination:

Writing

-
-
-

All Posts

+
+
+

All Posts

-
    - {% for article in articles %} -
  • - {{ article.data.articleTitle }} - - Published: - - -
  • - {% endfor %} -
+
    + {% for article in articles %} +
  • + {{ article.data.articleTitle }} + + Published: + + +
  • + {% endfor %} +
- -
-
-

Collections

+ +
+ -
+ +
+
diff --git a/pages/writing/learning-in-public/index.njk b/pages/writing/learning-in-public/index.njk index 7fa67410..f48d6e23 100644 --- a/pages/writing/learning-in-public/index.njk +++ b/pages/writing/learning-in-public/index.njk @@ -15,24 +15,24 @@ pagination:

Anything that I would consider to be learning in public lives here. That could be notes from studying something specific, or random posts about something I learned about recently.

diff --git a/pages/writing/web-accessibility-specialist-certification/index.njk b/pages/writing/web-accessibility-specialist-certification/index.njk index d36f47c8..805f0c88 100644 --- a/pages/writing/web-accessibility-specialist-certification/index.njk +++ b/pages/writing/web-accessibility-specialist-certification/index.njk @@ -15,40 +15,40 @@ pagination:

Web Accessibility Specialist (WAS) Certification

- I'm studying to earn the WAS - certification. I'll be publishing any notes and posts written during my - time studying, so that: + I'm studying to earn the WAS + certification. I'll be publishing any notes and posts written during my + time studying, so that:

    -
  1. - I'll have a solid collection of notes to refer back to -
  2. -
  3. - I can share what I learn as I go -
  4. +
  5. + I'll have a solid collection of notes to refer back to +
  6. +
  7. + I can share what I learn as I go +
diff --git a/src/partials/layout.njk b/src/partials/layout.njk index 1908b375..0efad865 100644 --- a/src/partials/layout.njk +++ b/src/partials/layout.njk @@ -3,106 +3,106 @@ - - + + - {% block titleAndDescription %} - {{ title }} - - {% endblock %} + {% block titleAndDescription %} + {{ title }} + + {% endblock %} - - - + + + - - + + - - - + + + - + - {% block header %} -
- Skip to content -
- -
-
- {% endblock %} -
- {% block content %} -
- {{ content | safe }} -
- {% endblock %} -
- {% block footer %} - - {% endblock %} + {% block header %} +
+ Skip to content +
+ +
+
+ {% endblock %} +
+ {% block content %} +
+ {{ content | safe }} +
+ {% endblock %} +
+ {% block footer %} + + {% endblock %} - - + + - - {% block scripts %}{% endblock %} + + {% block scripts %}{% endblock %} - + diff --git a/src/partials/macros/cat-picture.njk b/src/partials/macros/cat-picture.njk index ef5f0565..34d1f2cf 100644 --- a/src/partials/macros/cat-picture.njk +++ b/src/partials/macros/cat-picture.njk @@ -1,24 +1,24 @@ {% macro catPicture(image, index, lazyThreshold, altText) %}
- - - - {{ altText }} lazyThreshold %}loading="lazy"{% endif %}> - + + + + {{ altText }} lazyThreshold %}loading="lazy"{% endif %}> +
{% endmacro %} diff --git a/src/partials/macros/project-card.njk b/src/partials/macros/project-card.njk index 58e9d8e9..5009dbe4 100644 --- a/src/partials/macros/project-card.njk +++ b/src/partials/macros/project-card.njk @@ -1,30 +1,30 @@ {% macro projectCard(project, headingLevel) %}
- <{{ headingLevel }} class="cmp-project__heading"> - {% if project.siteLink %} - {{ project.name }} - {% else %} - {{ project.name }} - {% endif %} - -

- {{ project.classification }} -

-

{{ project.description }}

- {% if project.repoLink %} -

- - View Source - - for {{ project.name }} - - -

- {% endif %} - + <{{ headingLevel }} class="cmp-project__heading"> + {% if project.siteLink %} + {{ project.name }} + {% else %} + {{ project.name }} + {% endif %} + +

+ {{ project.classification }} +

+

{{ project.description }}

+ {% if project.repoLink %} +

+ + View Source + + for {{ project.name }} + + +

+ {% endif %} +
{% endmacro %} diff --git a/src/partials/published-date.njk b/src/partials/published-date.njk index 6ef150f6..485592d7 100644 --- a/src/partials/published-date.njk +++ b/src/partials/published-date.njk @@ -1,6 +1,6 @@

- Published: - + Published: +