chore: organization

This commit is contained in:
Cory Dransfeldt 2024-04-29 18:12:37 -07:00
parent 1932b02c8f
commit e3e4ab0335
No known key found for this signature in database
39 changed files with 44 additions and 44 deletions

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "13.2.7",
"version": "13.2.8",
"description": "The source for my personal site. Built using 11ty.",
"type": "module",
"scripts": {

View file

@ -89,7 +89,7 @@ layout: default
</h2>
{% assign bookData = books | bookStatus: 'started' | reverse %}
{% render "partials/now/media-grid.liquid", data:bookData, shape: "vertical", count: 6 %}
{% render "partials/recent-links.liquid", links:collections.links %}
{% render "partials/widgets/recent-links.liquid", links:collections.links %}
<h2 id="movies" class="section-header flex-centered">
{% tablericon "movie" "Movies" %}
Movies

View file

@ -1,8 +0,0 @@
<div class="addon-links">
{%- if analytics.size > 0 -%}
<div>{% render "partials/popular-posts.liquid", posts:posts, analytics:analytics %}</div>
{%- endif -%}
{%- if links.size > 0 -%}
<div>{% render "partials/recent-links.liquid", links:links %}</div>
{%- endif -%}
</div>

View file

@ -4,5 +4,5 @@
<div class="now-topper">
<p><strong class="highlight-text">I'm a software developer based in Camarillo, California</strong>. I enjoy hanging out with my beautiful family and 3 rescue dogs, technology, automation, <a href="https://coryd.dev/now#artists">music</a>, writing, <a href="https://coryd.dev/now#books">reading</a>, <a href="https://coryd.dev/now#tv">tv</a> and <a href="https://coryd.dev/now#movies">movies</a>. Lately I've been listening to a lot of <strong class="highlight-text">{{ artist.title }}</strong>, reading <strong class="highlight-text">{{ book.title }}</strong> and watching <strong class="highlight-text">{{ show.name }}</strong>.</p>
{% render "partials/now/status.liquid", status:status %}
{% render "partials/now-playing.liquid" %}
{% render "partials/widgets/now-playing.liquid" %}
</div>

View file

@ -0,0 +1,8 @@
<div class="addon-links">
{%- if analytics.size > 0 -%}
<div>{% render "partials/widgets/popular-posts.liquid", posts:posts, analytics:analytics %}</div>
{%- endif -%}
{%- if links.size > 0 -%}
<div>{% render "partials/widgets/recent-links.liquid", links:links %}</div>
{%- endif -%}
</div>

View file

@ -7,14 +7,14 @@ schema: blog
<div class="default-wrapper">
<article class="h-entry">
<div class="flex-centered gap-xs icon-small icon-light">
{% render "partials/share-button.liquid", url:postUrl, title:title, tagMap:collections.tagMap %}
{% render "partials/widgets/share-button.liquid", url:postUrl, title:title, tagMap:collections.tagMap %}
{% tablericon "calendar-month" "Date" %}
<time class="dt-published" datetime="{{ date }}">
{{ date | date: "%B %e, %Y" }}
</time>
</div>
<h2 class="p-name">{{ title }}</h2>
<div class="text-small">{% render "partials/tags.liquid", tags:tags %}</div>
<div class="text-small">{% render "partials/widgets/tags.liquid", tags:tags %}</div>
<span class="p-author h-card hidden">{{ meta.author }}</span>
<div class="p-summary hidden">{{ post_excerpt }}</div>
<div class="e-content">
@ -23,5 +23,5 @@ schema: blog
</div>
</article>
</div>
{% render "partials/mastodon-post.liquid", postUrl:postUrl, linkPosts:linkPosts %}
{% render "partials/addon-links.liquid", posts:collections.posts, analytics:analytics, links:collections.links %}
{% render "partials/widgets/mastodon-post.liquid", postUrl:postUrl, linkPosts:linkPosts %}
{% render "partials/widgets/addon-links.liquid", posts:collections.posts, analytics:analytics, links:collections.links %}

View file

@ -1,6 +1,6 @@
---
layout: default
---
{% render "partials/now/topper.liquid" status:status, artists:music.artists, books:books, tv:tv %}
{% render "partials/posts.liquid" icon: "star", title: "Featured", postData:collections.posts, postType: "featured" %}
{% render "partials/posts.liquid" icon: "clock-2", title: "Recent posts", postData:collections.posts %}
{% render "partials/home/now.liquid" status:status, artists:music.artists, books:books, tv:tv %}
{% render "partials/home/posts.liquid" icon: "star", title: "Featured", postData:collections.posts, postType: "featured" %}
{% render "partials/home/posts.liquid" icon: "clock-2", title: "Recent posts", postData:collections.posts %}

View file

@ -15,13 +15,13 @@ pagination:
{% for link in pagination.items %}
{% assign author = link.data.link | stripUtm | authorLookup %}
<div class="link">
{% render "partials/share-button.liquid", url:link.data.link, title:link.data.title, tagMap:collections.tagMap %}
{% render "partials/widgets/share-button.liquid", url:link.data.link, title:link.data.title, tagMap:collections.tagMap %}
<a href="{{ link.data.link }}" title="{{ link.data.title | escape }}">
<strong>{{ link.data.title }}</strong>
</a>
{% if author %} via {{ author }}{% endif %}
<div class="text-small">{% render "partials/tags.liquid", tags:link.data.tags %}</div>
<div class="text-small">{% render "partials/widgets/tags.liquid", tags:link.data.tags %}</div>
</div>
{% endfor %}
</div>
{% render "partials/paginator.liquid", pagination:pagination %}
{% render "partials/widgets/paginator.liquid", pagination:pagination %}

View file

@ -11,6 +11,6 @@ image: /assets/img/404.jpg
What kind of idiots do you have working here? <a href="/">Hurry up and skip out on the room service bill!</a>
</div>
<hr class="large-spacing" />
{% render "partials/tags.liquid", tags:collections.tagsSortedByCount, hasSpace:true %}
{% render "partials/addon-links.liquid", posts:collections.posts, analytics:analytics, links:collections.links %}
{% render "partials/widgets/tags.liquid", tags:collections.tagsSortedByCount, hasSpace:true %}
{% render "partials/widgets/addon-links.liquid", posts:collections.posts, analytics:analytics, links:collections.links %}
</div>

View file

@ -22,4 +22,4 @@ I tend to write about whatever strikes me, with a focus on development, technolo
[You can also see what I'm doing now](/now), [take a look at the links I've shared recently](/links) or [check out the webrings I'm a member of](/webrings).
{% render "partials/badge-grid.liquid" %}
{% render "partials/widgets/badge-grid.liquid" %}

View file

@ -22,4 +22,4 @@ permalink: "/books/want-to-read/{{ pagination.pageNumber }}/index.html"
</li>
{% endfor %}
</ul>
{% render "partials/paginator.liquid", pagination:pagination %}
{% render "partials/widgets/paginator.liquid", pagination:pagination %}

View file

@ -8,5 +8,5 @@ permalink: /contact/success.html
I'll be in touch soon! <a href="/">Head home</a>
</div>
<hr class="large-spacing" />
{% render "partials/tags.liquid", tags:collections.tagsSortedByCount, hasSpace:true %}
{% render "partials/addon-links.liquid", posts:collections.posts, analytics:analytics, links:links %}
{% render "partials/widgets/tags.liquid", tags:collections.tagsSortedByCount, hasSpace:true %}
{% render "partials/widgets/addon-links.liquid", posts:collections.posts, analytics:analytics, links:links %}

View file

@ -55,5 +55,5 @@ permalink: /search.html
<input class="search__form--fallback" type="hidden" placeholder="Search" name="sites" value="coryd.dev">
</form>
<ul class="search__results hidden"></ul>
{% render "partials/tags.liquid", tags:collections.tagsSortedByCount, hasSpace:true %}
{% render "partials/addon-links.liquid", posts:collections.posts, analytics:analytics, links:collections.links %}
{% render "partials/widgets/tags.liquid", tags:collections.tagsSortedByCount, hasSpace:true %}
{% render "partials/widgets/addon-links.liquid", posts:collections.posts, analytics:analytics, links:collections.links %}

View file

@ -8,7 +8,7 @@ permalink: /stats.html
<p>My first post was published on <strong class="highlight-text">{{ collections.postStats.firstPostDate | dateToReadableDate }}</strong> and my most recent one was published on <strong class="highlight-text">{{ collections.postStats.lastPostDate | dateToReadableDate }}</strong>. I've published <strong class="highlight-text">{{ collections.postStats.postCount }} posts</strong> containing <strong class="highlight-text">{{ collections.postStats.totalWordCount }} words</strong> and <strong class="highlight-text">{{ collections.postStats.totalCodeBlockCount }} code samples</strong>.</p>
<p>Posts have, on average, <strong class="highlight-text">{{ collections.postStats.avgWordCount | round }} words</strong> and a gap of <strong class="highlight-text">{{ collections.postStats.avgDays | round }} days</strong> between them.</p>
<p><strong>Top tags</strong></p>
{% render "partials/tags.liquid", tags:collections.tagsSortedByCount %}
{% render "partials/widgets/tags.liquid", tags:collections.tagsSortedByCount %}
<p><strong>Popular posts</strong></p>
<ol class="link-list">
{% assign posts = collections.posts | getPopularPosts: analytics %}
@ -21,6 +21,6 @@ permalink: /stats.html
{% endfor %}
</ol>
<p><strong>Posts by year</strong></p>
{% render "partials/post-graph.liquid", postYears: collections.postStats.years %}
{% render "partials/widgets/post-graph.liquid", postYears: collections.postStats.years %}
<p><strong>Post distribution graphs</strong></p>
{%- postGraph collections.posts -%}

View file

@ -24,4 +24,4 @@ pagination:
</article>
{% endfor %}
</div>
{% render "partials/paginator.liquid", pagination:pagination %}
{% render "partials/widgets/paginator.liquid", pagination:pagination %}

View file

@ -7,4 +7,4 @@ tags: ['music']
This sample sounds promising. I can't wait to hear more from _Reflektor_ on the 9th.<!-- excerpt -->
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=4i2wp3GkNrg" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=4i2wp3GkNrg" %}

View file

@ -7,4 +7,4 @@ tags: ['music']
Damien Jurado has been one of my favorite musicians for years. He's a talented, albeit nervous, performer and a gifted songwriter.<!-- excerpt --> The announcement that he'll have a new record out in 2014 is exciting and something that I am very much looking forward to. If the new material he played live when I saw him at the Bootleg Theater in April is any indication it should be even more experimental and unique than _Maraqopa_. I cannot wait to hear it.
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=NNpAj1U1_5Q" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=NNpAj1U1_5Q" %}

View file

@ -9,4 +9,4 @@ A wonderful new video for one of the highlights of Dawes' most recent album _Sto
Damien Jurado gave "Museum of Flight" off of _Maraqopa_ a similar treatment that's also very [much worth checking out](https://www.youtube.com/watch?v=CCcAKNSJ3Ac).
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=zUWu8Ny36dc" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=zUWu8Ny36dc" %}

View file

@ -7,4 +7,4 @@ tags: ['music', 'video']
One of punk's greatest bands live via Marinet TVM. I still need to see them live and sincerely hope I get the chance to before they hang things up. Superb performance.<!-- excerpt -->
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=euTMEIqTTfk" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=euTMEIqTTfk" %}

View file

@ -7,4 +7,4 @@ tags: ['video', 'music']
Not out of place at all at an open mic night. Excellent.<!-- excerpt -->
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=_GnemKx1tlk" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=_GnemKx1tlk" %}

View file

@ -9,4 +9,4 @@ Beautiful, stripped down song from a musician with a strong voice and truly hear
[Grab his album here »](http://skinandbonesmusic.bandcamp.com)
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=wB52fQkjZkE" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=wB52fQkjZkE" %}

View file

@ -7,4 +7,4 @@ tags: ['music', 'video']
A well-produced documentary and a great look at a band who, ten years later (and after only one album), still means so much to so many people.<!-- excerpt -->
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=MoSP7lNJTqk" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=MoSP7lNJTqk" %}

View file

@ -6,4 +6,4 @@ tags: ['music']
---
Absolutely classic.<!-- excerpt -->
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=gzC0RNkBXM0" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=gzC0RNkBXM0" %}

View file

@ -6,6 +6,6 @@ tags: ['music']
---
I could not be more excited for this release.<!-- excerpt -->
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=V8ia-nyd_K8" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=V8ia-nyd_K8" %}
Kudos to Roadburn Festival [for commissioning the piece](https://roadburn.com/premiere-waste-of-space-orchestra-seekers-reflection/).

View file

@ -10,4 +10,4 @@ tags:
[I've been streaming music again](https://coryd.dev/posts/2023/i-dont-want-streaming-music/) in part (and I know this is ridiculous) because Spotify is ubiquitous, well-integrated and has a — well — [API that's usable for my purposes](https://coryd.dev/posts/2023/road-to-madness-apple-music-charts/). I still buy music I stream from Bandcamp and archive it and I still buy too many shirts to support bands (I also import missing music into playlists and playlist folders as an analog to albums). I've also been able to scrobble listens more reliably and found some really great bands like [PUP](https://open.spotify.com/artist/6A7uqgC2N1nUhrCLAytHxN). We'll see if it lasts, but it feels like a good balance for now.<!-- excerpt -->
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=iVuB1ZASrGw" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=iVuB1ZASrGw" %}

View file

@ -7,4 +7,4 @@ tags: ['Eleventy', 'javascript', 'automation']
My talk from the Eleventy meetup about building [my now page](https://coryd.dev/now) (you even get to see how much I resemble my avatar).<!-- excerpt -->
{% render "partials/youtube-player.liquid", url:"https://www.youtube.com/watch?v=AzcFZJYEpnQ" %}
{% render "partials/widgets/youtube-player.liquid", url:"https://www.youtube.com/watch?v=AzcFZJYEpnQ" %}

View file

@ -41,7 +41,7 @@ And can then be leveraged in my Liquid partial as follows:
{% raw %}
```liquid
{% render "partials/tags.liquid", tags:collections.tagsSortedByCount %}
{% render "partials/widgets/tags.liquid", tags:collections.tagsSortedByCount %}
```
{% endraw %}