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

@ -0,0 +1,8 @@
{%- assign artist = artists | first -%}
{%- assign book = books | bookStatus: 'started' | reverse | first -%}
{%- assign show = tv | first -%}
<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/widgets/now-playing.liquid" %}
</div>

View file

@ -0,0 +1,28 @@
{%- assign posts = postData | filterByPostType: postType %}
<div class="article-widget-wrapper">
<div class="section-header-wrapper">
<h2 id="artists" class="section-header posts flex-centered">
{% tablericon icon title %}
{{ title }}
</h2>
</div>
{% for post in posts %}
<article class="h-entry">
<div class="flex-centered gap-xs icon-small icon-light">
{% tablericon "calendar-month" "Date" %}
<time class="dt-published" datetime="{{ post.date }}">
{{ post.date | date: "%B %e, %Y" }}
</time>
</div>
<a href="{{ post.url }}">
<h3 class="flex-centered">{{ post.data.title }}</h3>
</a>
<span class="p-author h-card hidden">{{ meta.siteName }}</span>
<div class="p-summary hidden">{{ post.data.post_excerpt }}</div>
{{ post.data.post_excerpt | markdown | truncateByWordCount: 25 }}
</article>
{% endfor %}
{% if postType != 'featured' %}
<a class="view-all flex-centered" href="/posts">View all posts {% tablericon "arrow-right" "View all posts" %}</a>
{% endif %}
</div>