This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/index.html
2023-08-13 13:54:32 -07:00

49 lines
1.7 KiB
HTML

---
layout: default
pagination:
data: collections.posts
size: 10
reverse: true
alias: posts
meta:
site:
name: 'Cory Dransfeldt'
description: "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies."
url: https://coryd.dev
logo:
src: https://coryd.dev/assets/img/logo.webp
width: 2000
height: 2000
language: en-US
title: 'Cory Dransfeldt'
description: 'Husband, dad, developer, music nerd.'
url: https://coryd.dev/uses
image:
src: https://coryd.dev/assets/img/avatar.webp
---
{% if pagination.pageNumber == 0 %}{% include "partials/now-topper.liquid" %}{% endif %} {% for post in pagination.items %} {% if post.data.published %}
<article class="h-entry">
<div
class="mb-8 border-b border-gray-200 pb-4 text-gray-800 dark:border-gray-700 dark:text-white"
>
<a class="no-underline" href="{{ post.url }}">
<h2
class="p-name m-0 text-xl font-black leading-tight tracking-normal hover:text-pink-500 dark:text-gray-200 dark:hover:text-pink-500 md:text-2xl ease-in-out duration-300"
>
{{ post.data.title }}
</h2>
</a>
<span class="p-author h-card hidden">{{ site.title }}</span>
<div class="my-2 text-sm">
<time class="dt-published" datetime="{{ post.date }}">
{{ post.date | date: "%m.%Y" }}
</time>
</div>
<p class="p-summary mt-0">{{ post.data.post_excerpt | markdown }}</p>
<div class="mt-4 flex items-center justify-between">
<a class="flex-none font-normal no-underline" href="{{ post.url }}">Read more &rarr;</a>
</div>
</div>
</article>
{% endif %} {% endfor %} {% include "partials/paginator.liquid" %}