36 lines
No EOL
1 KiB
HTML
36 lines
No EOL
1 KiB
HTML
---
|
|
title: Links
|
|
layout: default
|
|
pagination:
|
|
data: links
|
|
size: 8
|
|
image: /assets/img/ogi/links.jpg
|
|
---
|
|
{% for link in pagination.items %}
|
|
{%- assign shareLink = link.url | findPost: linkPosts -%}
|
|
<article class="h-entry" data-pagefind-body>
|
|
<a class="no-underline" href="{{ link.url }}">
|
|
<h2 class="flex--centered" data-pagefind-meta="title">{{ link.title }}</h2>
|
|
</a>
|
|
<div class="flex--centered meta">
|
|
{%- if link.author and link.author != 'undefined' %}
|
|
<span rel="author">
|
|
{{ link.author }} •
|
|
</span>
|
|
{% endif -%}
|
|
<time class="dt-published" datetime="{{ link.date }}">
|
|
{{ link.date | date: "%m.%Y" }}
|
|
</time>
|
|
{%- if shareLink %}
|
|
<a class="brand-mastodon icon--small" href="{{ shareLink }}">
|
|
{% tablericon "brand-mastodon" "Mastodon post" %}
|
|
</a>
|
|
{% endif -%}
|
|
</div>
|
|
<blockquote class="p-summary">{{ link.summary }}</blockquote>
|
|
{%- if link.note %}
|
|
<p>{{ link.note | markdown }}</p>
|
|
{% endif -%}
|
|
</article>
|
|
{% endfor %}
|
|
{% include "partials/paginator.liquid" %} |