Re-add old blog posts from Astro

This commit is contained in:
Oliver Davies 2024-03-09 23:35:00 +00:00
parent 076239fa25
commit 051e154c65
178 changed files with 13479 additions and 7 deletions

View file

@ -0,0 +1,8 @@
<figure class="block">
<img src="{{ image.src }}" alt="{{ image.alt }}" class="p-1 border">
{% if caption %}
<figcaption class="mt-1 mb-0 italic text-sm text-center text-gray-800">
{{ caption }}
</figcaption>
{% endif %}
</figure>

View file

@ -0,0 +1,10 @@
<div class="my-4 flex justify-center {{ class }}">
<blockquote
class="twitter-tweet"
lang="en"
{% if not data_cards %}data-cards="hidden"{% endif %}
{% if no_parent %}data-conversation="none"{% endif %}
>
{{ content|raw }}
</blockquote>
</div>

View file

@ -1,6 +1,8 @@
<iframe
allowfullscreen
class="w-full border border-gray-500 aspect-[16/9]"
frameborder="0"
src="https://www.youtube.com/embed/{{ id }}?rel=0&iv_load_policy=3"
></iframe>
<div>
<iframe
allowfullscreen
class="w-full border border-gray-500 aspect-[16/9]"
frameborder="0"
src="https://www.youtube.com/embed/{{ id }}?rel=0&iv_load_policy=3"
></iframe>
</div>