Move all files to old/astro/

This commit is contained in:
Oliver Davies 2025-10-03 01:06:46 +01:00
parent b176f4d25e
commit cdf77e8b5f
1340 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{% if data.posts and page.url != '/blog' %}
<div class="markup">
<h2 class="mb-2">Latest Blog Posts</h2>
<ul class="pl-4">
{% for post in data.posts|slice(0, site.latest_posts) %}
<li>
<a href="{{ post.url }}">
{{- post.title -}}
</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}

View file

@ -0,0 +1,4 @@
<time class="{{ class }}" datetime="{{ post.date|date('Y-m-d') }}">
<span class="visuallyhidden">Posted on </span>
{{ post.date|date('jS F Y') }}
</time>