chore: widgets are blocks, not all blocks need to connect to the cms; bye bugs
This commit is contained in:
parent
16eb58fe0f
commit
00fd39db89
35 changed files with 77 additions and 48 deletions
|
@ -39,4 +39,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/widgets/badge-grid.liquid", badges: badges %}
|
||||
{% render "partials/blocks/badge-grid.liquid", badges: badges %}
|
||||
|
|
|
@ -11,7 +11,7 @@ schema: books
|
|||
<h2 class="page-header">Currently reading</h2>
|
||||
<p>Here's what I'm reading at the moment. I've finished <strong class="highlight-text">{{ currentBookCount }} books</strong> this year.</p>
|
||||
<p><a href="/books/years/2024">2024</a> / <a href="/books/years/2023">2023</a> / <a href="/books/years/2022">2022</a> / <a href="/books/years/2021">2021</a> / <a href="/books/years/2020">2020</a></p>
|
||||
{% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-books", text: "Subscribe to my books feed or follow along on this page" %}
|
||||
{% render "partials/blocks/banners/rss.liquid", url: "https://feedpress.me/coryd-books", text: "Subscribe to my books feed or follow along on this page" %}
|
||||
<hr />
|
||||
{% for book in bookData %}
|
||||
{% capture alt %}{{ book.title }} by {{ book.authors }}{% endcapture %}
|
||||
|
|
|
@ -9,7 +9,7 @@ permalink: "/links/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}
|
|||
{% if pagination.pageNumber == 0 %}
|
||||
<h2 class="page-header">Links</h2>
|
||||
<p>These are links I've liked or otherwise found interesting. They're all added manually, after having been read and, I suppose, properly considered. Authors are associated with domains using a simple key-value map.</p>
|
||||
{% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-links", text: "Subscribe to my links feed or follow along on this page" %}
|
||||
{% render "partials/blocks/banners/rss.liquid", url: "https://feedpress.me/coryd-links", text: "Subscribe to my links feed or follow along on this page" %}
|
||||
<hr />
|
||||
{% endif %}
|
||||
<div class="link-grid">
|
||||
|
@ -22,4 +22,4 @@ permalink: "/links/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}
|
|||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% render "partials/widgets/paginator.liquid", pagination:pagination %}
|
||||
{% render "partials/nav/paginator.liquid", pagination:pagination %}
|
|
@ -13,7 +13,7 @@ schema: music-index
|
|||
<h2 class="page-header">{{ title }}</h2>
|
||||
<p>I've listened to <strong class="highlight-text">{{ music.week.artists.size }} artists</strong>, <strong class="highlight-text">{{ music.week.albums.size }} albums</strong> and <strong class="highlight-text">{{ music.week.totalTracks }} tracks</strong> this week. Most of that has been {{ music.week.genres | sortByPlaysDescending: "plays" | genreStrings: "genre" | mediaLinks: "genre", 5 }}.</p>
|
||||
<p><strong class="highlight-text">See more of the</strong> <a href="/music/artists/this-week/">artists</a>, <a href="/music/albums/this-week/">albums</a> or <a href="/music/tracks/this-week/">tracks</a> I've listened to this week. <strong class="highlight-text">Or take a look at what I've listened to</strong> <a href="/music/this-month">this month</a> or <a href="/music/three-months">over the last 3 months</a></p>
|
||||
{% render "partials/widgets/now-playing.liquid" %}
|
||||
{% render "partials/blocks/now-playing.liquid" %}
|
||||
<hr />
|
||||
<h3 id="artists" class="section-header no-top-margin">
|
||||
<a class="link-icon" href="/music/artists/this-week">
|
||||
|
|
|
@ -25,4 +25,4 @@ permalink: "/posts/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}
|
|||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% render "partials/widgets/paginator.liquid", pagination:pagination %}
|
||||
{% render "partials/nav/paginator.liquid", pagination:pagination %}
|
|
@ -18,7 +18,7 @@ schema: blog
|
|||
<span class="p-author h-card hidden">{{ globals.author }}</span>
|
||||
<div class="p-summary hidden">{{ post.description }}</div>
|
||||
<div class="e-content">
|
||||
{% render "partials/banners/old-post.liquid", date:post.date %}
|
||||
{% render "partials/blocks/banners/old-post.liquid", date:post.date %}
|
||||
{%- if post.image -%}
|
||||
<img
|
||||
srcset="
|
||||
|
@ -42,4 +42,4 @@ schema: blog
|
|||
{% render "partials/blocks/index.liquid", blocks:post.blocks %}
|
||||
</div>
|
||||
</article>
|
||||
{% render "partials/widgets/addon-links.liquid", popularPosts:collections.popularPosts, links:links %}
|
||||
{% render "partials/blocks/addon-links.liquid", popularPosts:collections.popularPosts, links:links %}
|
|
@ -59,4 +59,4 @@ 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/widgets/addon-links.liquid", popularPosts:collections.popularPosts, links:links %}
|
||||
{% render "partials/blocks/addon-links.liquid", popularPosts:collections.popularPosts, links:links %}
|
|
@ -10,7 +10,7 @@ schema: watching
|
|||
<h2 class="watching page-header">{{ title }}</h2>
|
||||
{% render "partials/media/watching/hero.liquid" movie:featuredMovie %}
|
||||
<p>Here's all of the TV and movies I've been watching presented in what is (hopefully) an organized fashion.</p>
|
||||
{% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-movies", text: "Subscribe to my movies feed or follow along on this page" %}
|
||||
{% render "partials/blocks/banners/rss.liquid", url: "https://feedpress.me/coryd-movies", text: "Subscribe to my movies feed or follow along on this page" %}
|
||||
<hr />
|
||||
<h3 id="movies" class="section-header no-top-margin">
|
||||
<a class="link-icon" href="/watching/recent/movies">
|
||||
|
|
|
@ -38,7 +38,7 @@ schema: movie
|
|||
<p class="sub-meta"><a href="https://themoviedb.org/movie/{{ movie.id }}" title="View {{ movie.title | escape }} on TMDB">View on TMDB</a></p>
|
||||
</div>
|
||||
{% if movie.review %}
|
||||
{% render "partials/banners/warning.liquid", text: "There are probably spoilers after this banner — this is a warning about them." %}
|
||||
{% render "partials/blocks/banners/warning.liquid", text: "There are probably spoilers after this banner — this is a warning about them." %}
|
||||
{{ movie.review | markdown }}
|
||||
<hr />
|
||||
{% endif %}
|
||||
|
|
Reference in a new issue