-{% endif %} {% endfor %} {% include "paginator.liquid" %}
\ No newline at end of file
+{% endif %} {% endfor %} {% include "paginator.liquid" %}
diff --git a/src/posts/2014/leaving-google-apps-for-fastmail.md b/src/posts/2014/leaving-google-apps-for-fastmail.md
index dfde67a4..cccc8ed2 100644
--- a/src/posts/2014/leaving-google-apps-for-fastmail.md
+++ b/src/posts/2014/leaving-google-apps-for-fastmail.md
@@ -63,9 +63,9 @@ I've been using Fastmail since the end of November and couldn't be happier with
I did quite a bit of research before switching to Fastmail and the following posts helped push me to make the move:
-- [Switching from Gmail to FastMail / Max Masnick](http://www.maxmasnick.com/2013/07/19/fastmail/ 'Switching from Gmail to FastMail / Max Masnick')
-- [From Gmail to FastMail: Moving Away from Google – ReadWrite](http://readwrite.com/2012/03/19/from-gmail-to-fastmail-moving#awesm=~othfJ88hm9Tp8X 'From Gmail to FastMail: Moving Away from Google – ReadWrite')
-- [FastMail is My Favourite Email Provider](http://web.appstorm.net/reviews/email-apps/fastmail-is-my-favourite-email-provider/ 'FastMail is My Favourite Email Provider')
+- [Switching from Gmail to FastMail / Max Masnick](http://www.maxmasnick.com/2013/07/19/fastmail/ 'Switching from Gmail to FastMail / Max Masnick')
+- [From Gmail to FastMail: Moving Away from Google – ReadWrite](http://readwrite.com/2012/03/19/from-gmail-to-fastmail-moving#awesm=~othfJ88hm9Tp8X 'From Gmail to FastMail: Moving Away from Google – ReadWrite')
+- [FastMail is My Favourite Email Provider](http://web.appstorm.net/reviews/email-apps/fastmail-is-my-favourite-email-provider/ 'FastMail is My Favourite Email Provider')
Have you moved to Fastmail? Are you thinking of doing so? [Let me know your thoughts](mailto:coryd@hey.com) on it or the move to it. You can sign up for Fastmail [here](https://www.fastmail.com).
diff --git a/src/posts/2016/generating-responsive-css-grid-neat.md b/src/posts/2016/generating-responsive-css-grid-neat.md
index 6571dc1a..c18598ba 100644
--- a/src/posts/2016/generating-responsive-css-grid-neat.md
+++ b/src/posts/2016/generating-responsive-css-grid-neat.md
@@ -9,61 +9,61 @@ I use a responsive grid system for this site (and a number of other projects) th
```scss
.grid {
- &-main-container {
- @include outer-container;
+ &-main-container {
+ @include outer-container;
+ }
+
+ &-row {
+ @include row;
+ @include pad(0 10%);
+
+ @media only screen and (max-width: 640px) {
+ @include pad(0 10%);
}
- &-row {
- @include row;
- @include pad(0 10%);
-
- @media only screen and (max-width: 640px) {
- @include pad(0 10%);
- }
-
- &.collapse {
- @media only screen and (max-width: 640px) {
- @include pad(0);
- }
- }
-
- .grid-row {
- // collapse nested grid rows
- @include pad(0);
- }
+ &.collapse {
+ @media only screen and (max-width: 640px) {
+ @include pad(0);
+ }
}
- $grid-columns: 12;
-
- @for $i from 0 through $grid-columns {
- &-columns-#{$i} {
- @include span-columns($i);
- }
-
- &-columns-small-#{$i} {
- @include span-columns($i);
-
- @media only screen and (max-width: 640px) {
- @include span-columns(12);
- }
- }
+ .grid-row {
+ // collapse nested grid rows
+ @include pad(0);
}
- @for $i from 0 through $grid-columns {
- &-shift-left-#{$i} {
- @include shift(-$i);
- }
+ }
- &-shift-right-#{$i} {
- @include shift($i);
- }
+ $grid-columns: 12;
- @media only screen and (max-width: 640px) {
- &-shift-left-#{$i},
- &-shift-right-#{$i} {
- @include shift(0);
- }
- }
+ @for $i from 0 through $grid-columns {
+ &-columns-#{$i} {
+ @include span-columns($i);
}
+
+ &-columns-small-#{$i} {
+ @include span-columns($i);
+
+ @media only screen and (max-width: 640px) {
+ @include span-columns(12);
+ }
+ }
+ }
+ @for $i from 0 through $grid-columns {
+ &-shift-left-#{$i} {
+ @include shift(-$i);
+ }
+
+ &-shift-right-#{$i} {
+ @include shift($i);
+ }
+
+ @media only screen and (max-width: 640px) {
+ &-shift-left-#{$i},
+ &-shift-right-#{$i} {
+ @include shift(0);
+ }
+ }
+ }
}
```
diff --git a/src/posts/2021/2021-reading-list.md b/src/posts/2021/2021-reading-list.md
index 6e778c66..60a2d5b4 100644
--- a/src/posts/2021/2021-reading-list.md
+++ b/src/posts/2021/2021-reading-list.md
@@ -9,24 +9,24 @@ I've been working on making reading a habit again for the past few years (my str
**Finished**
-- [Kill Switch: The Rise of the Modern Senate and the Crippling of American Democracy](https://www.harvard.com/book/kill_switch_the_rise_of_the_modern_senate_and_the_crippling_of_american_dem/), by Adam Jentleson
-- [Working in Public: The Making and Maintenance of Open Source Software](https://blas.com/working-in-public/), by Nadia Eghbal
-- [Let My People Go Surfing](https://www.patagonia.com/product/let-my-people-go-surfing-revised-paperback-book/BK067.html), by Yvon Chouinard
-- [The Responsible Company](https://www.patagonia.com/product/the-responsible-company-what-weve-learned-from-patagonias-first-forty-years-paperback-book/BK233.html), by Yvon Chouinard & Vincent Stanley
-- [Dark Mirror](https://www.penguinrandomhouse.com/books/316047/dark-mirror-by-barton-gellman/), by Barton Gellmen
-- [Get Together](https://gettogether.world/), by Bailey Richardson, Kevin Huynh & Kai Elmer Sotto
-- [Zucked](https://www.penguinrandomhouse.com/books/598206/zucked-by-roger-mcnamee/), by Roger McNamee
-- [Fentanyl, Inc.](https://groveatlantic.com/book/fentanyl-inc/), by Ben Weshoff
-- [A Promised Land](https://obamabook.com/), by Barack Obama
+- [Kill Switch: The Rise of the Modern Senate and the Crippling of American Democracy](https://www.harvard.com/book/kill_switch_the_rise_of_the_modern_senate_and_the_crippling_of_american_dem/), by Adam Jentleson
+- [Working in Public: The Making and Maintenance of Open Source Software](https://blas.com/working-in-public/), by Nadia Eghbal
+- [Let My People Go Surfing](https://www.patagonia.com/product/let-my-people-go-surfing-revised-paperback-book/BK067.html), by Yvon Chouinard
+- [The Responsible Company](https://www.patagonia.com/product/the-responsible-company-what-weve-learned-from-patagonias-first-forty-years-paperback-book/BK233.html), by Yvon Chouinard & Vincent Stanley
+- [Dark Mirror](https://www.penguinrandomhouse.com/books/316047/dark-mirror-by-barton-gellman/), by Barton Gellmen
+- [Get Together](https://gettogether.world/), by Bailey Richardson, Kevin Huynh & Kai Elmer Sotto
+- [Zucked](https://www.penguinrandomhouse.com/books/598206/zucked-by-roger-mcnamee/), by Roger McNamee
+- [Fentanyl, Inc.](https://groveatlantic.com/book/fentanyl-inc/), by Ben Weshoff
+- [A Promised Land](https://obamabook.com/), by Barack Obama
**In progress**
-- [This Is How They Tell Me the World Ends](https://www.bloomsbury.com/us/this-is-how-they-tell-me-the-world-ends-9781635576061/), by Nicole Perlroth
-- [Revelation Space](http://www.alastairreynolds.com/release/revelation-space/), by Alastair Reynolds
+- [This Is How They Tell Me the World Ends](https://www.bloomsbury.com/us/this-is-how-they-tell-me-the-world-ends-9781635576061/), by Nicole Perlroth
+- [Revelation Space](http://www.alastairreynolds.com/release/revelation-space/), by Alastair Reynolds
**Next up**
-- [JavaScript for Impatient Programmers](https://exploringjs.com/impatient-js/), by Dr. Axel Rauschmayer
-- [Deep JavaScript: Theory and Techniques](https://exploringjs.com/deep-js/), by Dr. Axel Rauschmayer
-- [Don't Think of an Elephant!](https://georgelakoff.com/books/dont_think_of_an_elephant_know_your_values_and_frame_the_debatethe_essential_guide_for_progressives-119190455949080/), by George Lakoff
-- [The Assassination of Fred Hampton](https://www.amazon.com/Assassination-Fred-Hampton-Chicago-Murdered/dp/1569767092), by Jeffrey Haas
+- [JavaScript for Impatient Programmers](https://exploringjs.com/impatient-js/), by Dr. Axel Rauschmayer
+- [Deep JavaScript: Theory and Techniques](https://exploringjs.com/deep-js/), by Dr. Axel Rauschmayer
+- [Don't Think of an Elephant!](https://georgelakoff.com/books/dont_think_of_an_elephant_know_your_values_and_frame_the_debatethe_essential_guide_for_progressives-119190455949080/), by George Lakoff
+- [The Assassination of Fred Hampton](https://www.amazon.com/Assassination-Fred-Hampton-Chicago-Murdered/dp/1569767092), by Jeffrey Haas
diff --git a/src/posts/2021/a-brief-intro-to-git.md b/src/posts/2021/a-brief-intro-to-git.md
index 460597f5..53e18302 100644
--- a/src/posts/2021/a-brief-intro-to-git.md
+++ b/src/posts/2021/a-brief-intro-to-git.md
@@ -97,9 +97,9 @@ git revert
Each of these commands has numerous options associated with it and allows for broad control over the flow and history of your project. There are a number of other options I'd suggest for learning more about git:
-- [Github's git tutorial](https://try.github.io)
-- [Pro Git book](https://git-scm.com/book)
-- [Oh shit, git!](http://ohshitgit.com/)
-- [Github guides](https://guides.github.com)
-- [Git Real](https://courses.codeschool.com/courses/git-real)
-- [Git documentation](https://git-scm.com/documentation)
+- [Github's git tutorial](https://try.github.io)
+- [Pro Git book](https://git-scm.com/book)
+- [Oh shit, git!](http://ohshitgit.com/)
+- [Github guides](https://guides.github.com)
+- [Git Real](https://courses.codeschool.com/courses/git-real)
+- [Git documentation](https://git-scm.com/documentation)
diff --git a/src/posts/2021/apple-music-a-tale-of-woe.md b/src/posts/2021/apple-music-a-tale-of-woe.md
index bdbf96b0..4de3bec9 100644
--- a/src/posts/2021/apple-music-a-tale-of-woe.md
+++ b/src/posts/2021/apple-music-a-tale-of-woe.md
@@ -13,15 +13,15 @@ A few weeks ago I read through a [Brooklyn Vegan](https://brooklynvegan.com) on
My next steps were pretty standard, escalating, troubleshooting:
-- [x] Log out of Apple Music on all devices
-- [x] Reboot
-- [x] Log in
+- [x] Log out of Apple Music on all devices
+- [x] Reboot
+- [x] Log in
Welcome back _Glow On_!
-- [x] Reset my Apple Music library[^3]
-- [x] Reconstruct my collection[^4]
-- [x] Notice that I _still_ can't update metadata and Apple fingerprints your tracks, tries to overwrite the metadata and creates duplicate tracks if there's the _slightest_ mismatch. Notice that these duplicates can't be deleted.
+- [x] Reset my Apple Music library[^3]
+- [x] Reconstruct my collection[^4]
+- [x] Notice that I _still_ can't update metadata and Apple fingerprints your tracks, tries to overwrite the metadata and creates duplicate tracks if there's the _slightest_ mismatch. Notice that these duplicates can't be deleted.
So, here I am: I've had swapped a phone after the service launched and cooked the battery. I gave it a second try, it worked for a while exactly how I'd liked — as a cloud locker with a supplemental catalog of music I was less invested in — and then it hit a wall.
diff --git a/src/posts/2021/digital-privacy-tools.md b/src/posts/2021/digital-privacy-tools.md
index fc372d67..b7d823fc 100644
--- a/src/posts/2021/digital-privacy-tools.md
+++ b/src/posts/2021/digital-privacy-tools.md
@@ -13,22 +13,22 @@ This is a helpful, albeit basic, guide to online privacy tools.
**Private email providers**
-- [Fastmail](https://fastmail.com)
-- [mailbox.org](mailbox.org)
-- [Proton Mail](http://protonmail.com)
+- [Fastmail](https://fastmail.com)
+- [mailbox.org](mailbox.org)
+- [Proton Mail](http://protonmail.com)
Ubiquitous free email providers profit by mining user data (whether humans are involved or not). Your inbox acts as a key to your digital life and you should avoid using any provider that monetizes its contents.
**Adblockers**
-- [1Blocker](https://1blocker.com)
-- [Better](https://better.fyi)
+- [1Blocker](https://1blocker.com)
+- [Better](https://better.fyi)
These are both light-weight, independently developed ad and tracker blockers. 1Blocker is considerably more configurable, but could be daunting to new users (the defaults offer a nice balance though).
**DNS providers**
-- [nextDNS](https://nextdns.io)
-- [Cloudflare 1.1.1.1](https://www.cloudflare.com/learning/dns/what-is-1.1.1.1)
+- [nextDNS](https://nextdns.io)
+- [Cloudflare 1.1.1.1](https://www.cloudflare.com/learning/dns/what-is-1.1.1.1)
I use nextDNS on my home network for basic security and have a more restrictive configuration that heavily filters ads at the DNS level on specific devices. Cloudflare's 1.1.1.1 service doesn't offer the same features, but is still preferable to Google's offering or your ISP's default.
diff --git a/src/posts/2022/2022-reading-list.md b/src/posts/2022/2022-reading-list.md
index a52ab65c..380e4437 100644
--- a/src/posts/2022/2022-reading-list.md
+++ b/src/posts/2022/2022-reading-list.md
@@ -9,41 +9,41 @@ I'm still plugging away with my reading habit and my streak is now at 772 days.<
**Finished**
-- [The Extended Mind by Annie Murphy Paul](https://oku.club/book/the-extended-mind-by-annie-murphy-paul-Mzlrf)
-- [Drive by James S. A. Corey](https://oku.club/book/drive-by-james-s-a-corey-DXapB)
-- [MBS by Ben Hubbard](https://oku.club/book/mbs-by-ben-hubbard-HTrlr)
-- [Putin’s People by Catherine Belton](https://oku.club/book/putins-people-by-catherine-belton-cHBSw)
-- [The Sins of Our Fathers by James S. A. Corey](https://oku.club/book/the-sins-of-our-fathers-by-james-s-a-corey-HKXjt)
-- [The Complete Redux Book by Ilya Gelman and Boris Dinkevich](https://leanpub.com/redux-book)
-- [Off the Edge by Kelly Weill](https://oku.club/book/off-the-edge-by-kelly-weill-SKujn)
-- [The Cryptopians by Laura Shin](https://oku.club/book/the-cryptopians-by-laura-shin-S43ey)
-- [The Intersectional Environmentalist by Leah Thomas](https://oku.club/book/the-intersectional-environmentalist-by-leah-thomas-3o8nH)
-- [The Compatriots by Andrei Soldatov](https://oku.club/book/the-compatriots-by-andrei-soldatov-UMhCz)
-- [The Wretched of the Earth by Frantz Fanon](https://oku.club/book/the-wretched-of-the-earth-by-frantz-fanon-8On3n)
-- [Lords of Chaos by Michael Moynihan](https://oku.club/book/lords-of-chaos-by-michael-moynihan-TQeVA)
-- [Going Clear by Lawrence Wright](https://oku.club/book/going-clear-by-lawrence-wright-ChtJe)
-- [Blitzed by Norman Ohler](https://oku.club/book/blitzed-by-norman-ohler-CZnyf)
-- [Paradise by Lizzie Johnson](https://oku.club/book/paradise-by-lizzie-johnson-BHfRA)
-- [Pedagogy of the Oppressed by Paulo Freire](https://oku.club/book/pedagogy-of-the-oppressed-by-paulo-freire-nGgoW)
-- [Missoula by Jon Krakauer](https://oku.club/book/missoula-by-jon-krakauer-ggUIz)
-- [Free by Lea Ypi](https://oku.club/book/free-by-lea-ypi-k3V1u)
-- [Reign of Terror by Spencer Ackerman](https://oku.club/book/reign-of-terror-by-spencer-ackerman-vNJMb)
-- [Narconomics by Tom Wainwright](https://oku.club/book/narconomics-by-tom-wainwright-qRrxi)
-- [Capitalist Realism by Mark Fisher](https://oku.club/book/capitalist-realism-by-mark-fisher-Lq4Gm)
-- [An Ugly Truth by Sheera Frenkel](https://oku.club/book/an-ugly-truth-by-sheera-frenkel-RxLoN)
-- [Sellout by Dan Ozzi](https://oku.club/book/sellout-by-dan-ozzi-wXvCV)
-- [Will by Will Smith and Mark Manson](https://oku.club/book/will-by-will-manson-smith-mark-YfBE1)
+- [The Extended Mind by Annie Murphy Paul](https://oku.club/book/the-extended-mind-by-annie-murphy-paul-Mzlrf)
+- [Drive by James S. A. Corey](https://oku.club/book/drive-by-james-s-a-corey-DXapB)
+- [MBS by Ben Hubbard](https://oku.club/book/mbs-by-ben-hubbard-HTrlr)
+- [Putin’s People by Catherine Belton](https://oku.club/book/putins-people-by-catherine-belton-cHBSw)
+- [The Sins of Our Fathers by James S. A. Corey](https://oku.club/book/the-sins-of-our-fathers-by-james-s-a-corey-HKXjt)
+- [The Complete Redux Book by Ilya Gelman and Boris Dinkevich](https://leanpub.com/redux-book)
+- [Off the Edge by Kelly Weill](https://oku.club/book/off-the-edge-by-kelly-weill-SKujn)
+- [The Cryptopians by Laura Shin](https://oku.club/book/the-cryptopians-by-laura-shin-S43ey)
+- [The Intersectional Environmentalist by Leah Thomas](https://oku.club/book/the-intersectional-environmentalist-by-leah-thomas-3o8nH)
+- [The Compatriots by Andrei Soldatov](https://oku.club/book/the-compatriots-by-andrei-soldatov-UMhCz)
+- [The Wretched of the Earth by Frantz Fanon](https://oku.club/book/the-wretched-of-the-earth-by-frantz-fanon-8On3n)
+- [Lords of Chaos by Michael Moynihan](https://oku.club/book/lords-of-chaos-by-michael-moynihan-TQeVA)
+- [Going Clear by Lawrence Wright](https://oku.club/book/going-clear-by-lawrence-wright-ChtJe)
+- [Blitzed by Norman Ohler](https://oku.club/book/blitzed-by-norman-ohler-CZnyf)
+- [Paradise by Lizzie Johnson](https://oku.club/book/paradise-by-lizzie-johnson-BHfRA)
+- [Pedagogy of the Oppressed by Paulo Freire](https://oku.club/book/pedagogy-of-the-oppressed-by-paulo-freire-nGgoW)
+- [Missoula by Jon Krakauer](https://oku.club/book/missoula-by-jon-krakauer-ggUIz)
+- [Free by Lea Ypi](https://oku.club/book/free-by-lea-ypi-k3V1u)
+- [Reign of Terror by Spencer Ackerman](https://oku.club/book/reign-of-terror-by-spencer-ackerman-vNJMb)
+- [Narconomics by Tom Wainwright](https://oku.club/book/narconomics-by-tom-wainwright-qRrxi)
+- [Capitalist Realism by Mark Fisher](https://oku.club/book/capitalist-realism-by-mark-fisher-Lq4Gm)
+- [An Ugly Truth by Sheera Frenkel](https://oku.club/book/an-ugly-truth-by-sheera-frenkel-RxLoN)
+- [Sellout by Dan Ozzi](https://oku.club/book/sellout-by-dan-ozzi-wXvCV)
+- [Will by Will Smith and Mark Manson](https://oku.club/book/will-by-will-manson-smith-mark-YfBE1)
**In progress**
-- [Rotting Ways to Misery by Markus Makkonen](https://oku.club/book/rotting-ways-to-misery-by-markus-makkonen-MPt17)
-- [Absolution Gap by Alastair Reynolds](https://oku.club/book/absolution-gap-by-alastair-reynolds-RHAFH)
-- [Moneyland by Oliver Bullough, Marianne Palm](https://oku.club/book/moneyland-by-oliver-bullough-s9wvO)
+- [Rotting Ways to Misery by Markus Makkonen](https://oku.club/book/rotting-ways-to-misery-by-markus-makkonen-MPt17)
+- [Absolution Gap by Alastair Reynolds](https://oku.club/book/absolution-gap-by-alastair-reynolds-RHAFH)
+- [Moneyland by Oliver Bullough, Marianne Palm](https://oku.club/book/moneyland-by-oliver-bullough-s9wvO)
**Next up**
-- [Miles by Miles Davis](https://oku.club/book/miles-by-miles-davis-UG9m7)
-- [The Nineties by Chuck Klosterman](https://oku.club/book/the-nineties-by-chuck-klosterman-QNgHC)
-- [Old Man's War by John Scalzi](https://oku.club/book/old-mans-war-by-john-scalzi-H7UHv)
+- [Miles by Miles Davis](https://oku.club/book/miles-by-miles-davis-UG9m7)
+- [The Nineties by Chuck Klosterman](https://oku.club/book/the-nineties-by-chuck-klosterman-QNgHC)
+- [Old Man's War by John Scalzi](https://oku.club/book/old-mans-war-by-john-scalzi-H7UHv)
I've been listening to podcasts again as well, so I'll have to see how that impacts my pacing and reading.
diff --git a/src/posts/2022/apple-centric-digital-privacy-tools.md b/src/posts/2022/apple-centric-digital-privacy-tools.md
index e88e0e1b..8f0c290d 100644
--- a/src/posts/2022/apple-centric-digital-privacy-tools.md
+++ b/src/posts/2022/apple-centric-digital-privacy-tools.md
@@ -12,41 +12,41 @@ A rundown of privacy tools that work well with Apple's technology ecosystem.
-[^1]: Which is awesome — it works perfectly.
\ No newline at end of file
+[^1]: Which is awesome — it works perfectly.
diff --git a/src/posts/2023/scheduled-eleventy-builds-cron-github-actions.md b/src/posts/2023/scheduled-eleventy-builds-cron-github-actions.md
index ed7e2704..98140d96 100644
--- a/src/posts/2023/scheduled-eleventy-builds-cron-github-actions.md
+++ b/src/posts/2023/scheduled-eleventy-builds-cron-github-actions.md
@@ -14,24 +14,24 @@ To update my feeds ([feed.xml](https://coryd.dev/feed.xml) and [follow.xml](http
```yaml
name: Scheduled Vercel build
env:
- VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
- VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
- schedule:
- - cron: '0 * * * *'
+ schedule:
+ - cron: '0 * * * *'
jobs:
- cron:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Install Vercel CLI
- run: npm install --global vercel@latest
- - name: Pull Vercel Environment Information
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- - name: Build Project Artifacts
- run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- - name: Deploy Project Artifacts to Vercel
- run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
+ cron:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install Vercel CLI
+ run: npm install --global vercel@latest
+ - name: Pull Vercel Environment Information
+ run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
+ - name: Build Project Artifacts
+ run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
+ - name: Deploy Project Artifacts to Vercel
+ run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
```
{% endraw %}
@@ -47,22 +47,22 @@ If you need to manually trigger a build, you can do so using a workflow with a {
```yaml
name: Manual Vercel build
env:
- VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
- VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on: [workflow_dispatch]
jobs:
- cron:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Install Vercel CLI
- run: npm install --global vercel@latest
- - name: Pull Vercel Environment Information
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- - name: Build Project Artifacts
- run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- - name: Deploy Project Artifacts to Vercel
- run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
+ cron:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install Vercel CLI
+ run: npm install --global vercel@latest
+ - name: Pull Vercel Environment Information
+ run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
+ - name: Build Project Artifacts
+ run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
+ - name: Deploy Project Artifacts to Vercel
+ run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
```
{% endraw %}
diff --git a/src/posts/2023/webmentions-in-eleventy.md b/src/posts/2023/webmentions-in-eleventy.md
index 93dcd1ae..e7ba1a86 100644
--- a/src/posts/2023/webmentions-in-eleventy.md
+++ b/src/posts/2023/webmentions-in-eleventy.md
@@ -17,16 +17,16 @@ I'm fetching data from [webmention.io](https://webmention.io) at build time in `
const EleventyFetch = require('@11ty/eleventy-fetch')
module.exports = async function () {
- const KEY_CORYD = process.env.API_KEY_WEBMENTIONS_CORYD_DEV
- const url = `https://webmention.io/api/mentions.jf2?token=${KEY_CORYD}&per-page=1000`
- const res = EleventyFetch(url, {
- duration: '1h',
- type: 'json',
- })
- const webmentions = await res
- return {
- mentions: webmentions.children,
- }
+ const KEY_CORYD = process.env.API_KEY_WEBMENTIONS_CORYD_DEV
+ const url = `https://webmention.io/api/mentions.jf2?token=${KEY_CORYD}&per-page=1000`
+ const res = EleventyFetch(url, {
+ duration: '1h',
+ type: 'json',
+ })
+ const webmentions = await res
+ return {
+ mentions: webmentions.children,
+ }
}
```
@@ -35,29 +35,30 @@ I have cache duration set to `1h` and a scheduled build operating on approximate
```yaml
name: Scheduled Vercel build
env:
- VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
- VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
- schedule:
- - cron: '0 * * * *'
+ schedule:
+ - cron: '0 * * * *'
jobs:
- cron:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Install Vercel CLI
- run: npm install --global vercel@latest
- - name: Pull Vercel Environment Information
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- - name: Build Project Artifacts
- run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- - name: Deploy Project Artifacts to Vercel
- run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
+ cron:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install Vercel CLI
+ run: npm install --global vercel@latest
+ - name: Pull Vercel Environment Information
+ run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
+ - name: Build Project Artifacts
+ run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
+ - name: Deploy Project Artifacts to Vercel
+ run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
```
When the build runs, it renders any mentions of a given post via a [liquid.js](https://liquidjs.com/) template that looks like this:
{% raw %}
+
```liquid
{% if webmentions %}
@@ -130,6 +131,7 @@ When the build runs, it renders any mentions of a given post via a [liquid.js](h
{% endif %}
```
+
{% endraw %}
This conditionally displays different mention types based on the available data after being passed through the `webmentionsByUrl` filter which I shamelessly lifted from [Robb](https://github.com/rknightuk/rknight.me/blob/8e2a5c5f886cae6c04add7893b8bf8a2d6295ddf/config/filters.js#L48-L84).
diff --git a/src/posts/posts.json b/src/posts/posts.json
index 7bb3b96a..0a27d50c 100644
--- a/src/posts/posts.json
+++ b/src/posts/posts.json
@@ -1,5 +1,5 @@
{
- "layout": "post.liquid",
- "tags": ["posts"],
- "published": true
-}
\ No newline at end of file
+ "layout": "post.liquid",
+ "tags": ["posts"],
+ "published": true
+}
diff --git a/src/referrals.md b/src/referrals.md
index 85700df5..2a1baa2c 100644
--- a/src/referrals.md
+++ b/src/referrals.md
@@ -11,10 +11,10 @@ title: Referrals
Referral links for services I use. I save some money and you do as well if you choose to use them.
-- Google Workspace
-- SavvyCal
-- Fathom Analytics
-- NextDNS
-- DNSimple
-- Bunny.net
-- DigitalOcean
\ No newline at end of file
+- Google Workspace
+- SavvyCal
+- Fathom Analytics
+- NextDNS
+- DNSimple
+- Bunny.net
+- DigitalOcean
diff --git a/src/sitemap.md b/src/sitemap.md
index 07e756b1..4d720e69 100644
--- a/src/sitemap.md
+++ b/src/sitemap.md
@@ -2,6 +2,7 @@
permalink: /sitemap.xml
eleventyExcludeFromCollections: true
---
+
{% for page in collections.all %}
@@ -10,4 +11,4 @@ eleventyExcludeFromCollections: true
{{page.data.changeFreq}}
{% endfor %}
-
\ No newline at end of file
+
diff --git a/src/tagList.md b/src/tagList.md
index 712b0f9e..e4e3fd03 100644
--- a/src/tagList.md
+++ b/src/tagList.md
@@ -1,16 +1,17 @@
---
layout: default
pagination:
- data: collections
- size: 1
- alias: tag
+ data: collections
+ size: 1
+ alias: tag
permalink: /tags/{{ tag }}/
eleventyComputed:
- title: '{{ tag }}'
+ title: '{{ tag }}'
templateEngineOverride: liquid,md
---
{% for post in collections[tag] %}
+