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,35 @@
<!DOCTYPE html>
<html lang="en-GB" class="no-js">
<head>
<title>{% if page.title is defined and page.url != '//' %}{{ page.title }} | {% endif %}{{ site.title }} - {{ site.subtitle }}</title>
{% include 'meta' %}
{% block metas %}
<meta name="twitter:site" content="@{{ site.twitter.user }}">
<meta name="twitter:title" content="{{ page.title }}">
<meta name="twitter:creator" content="@{{ site.twitter.user }}">
{% endblock %}
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
{% block stylesheets %}{% endblock %}
{% for size in site.apple_touch_icon_sizes %}
<link rel="apple-touch-icon" href="{{ site.favicon.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}
{% for size in site.favicon_sizes %}
<link rel="icon" href="{{ site.favicon.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}
</head>
<body class="antialiased font-sans text-gray-800 leading-relaxed">
<div class="min-h-screen flex flex-col">
{% block body %}{% endblock %}
</div>
{% if site.google_analytics.id %}
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '{{ site.google_analytics.id }}', 'auto'); ga('send', 'pageview');</script>
{% endif %}
<script src="{{ asset('build/app.js') }}"></script>
{% block scripts %}{% endblock %}
</body>
</html>

View file

@ -0,0 +1,33 @@
{% extends 'app' %}
{% block body %}
{% include 'layout/navbar' %}
<div class="mt-10 container">
<main id="main-content" class="flex-1 wrap {{ page.layout == 'front' ? 'is-wide' : '' }}">
{# {% if page.layout in ['post', 'talk'] %}
{% include 'site-message' %}
{% endif %} #}
{% block page_title_wrapper %}
<h1 class="leading-tight mb-4">
{% block page_title %}{{ page.title }}{% endblock %}
</h1>
{% endblock %}
{% block content_wrapper %}
{% block content %}{% endblock %}
{% endblock %}
</main>
{% include 'layout/footer' %}
</div>
{% endblock %}
{% block scripts %}
{% if page.has_tweets or page.type == 'tweet' %}
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
{% endif %}
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %}

View file

@ -0,0 +1,17 @@
{% extends 'default' %}
{% block content_wrapper %}
<div class="md:flex -mx-6">
<div class="wrap md:flex-1 px-6 mb-12 md:mb-0">
<div class="markup spaced-y-4 mb-8">
{% block content %}{% endblock %}
</div>
{% include 'about/availability' %}
</div>
<div class="w-full md:w-2/5 lg:w-1/3 px-6">
{% include 'about/badges' %}
</div>
</div>
{% endblock %}

View file

@ -0,0 +1,12 @@
{% macro talkEventName(event) %}
{% if event.url %}
<a href="{{ event.url }}">{{ event.name }}</a>
{% else %}
{{ event.name }}
{% endif %}
{% endmacro %}
{% macro talkEventLocation(event) %}
{{ event.location ? 'in ' ~ event.location }}
{{ event.remote ? ' (Remote)' }}
{% endmacro %}

View file

@ -0,0 +1,7 @@
{% extends 'default' %}
{% block content_wrapper %}
<div>
{% block content %}{% endblock %}
</div>
{% endblock %}

View file

@ -0,0 +1,26 @@
{% extends 'default' %}
{% block page_title_wrapper %}{% endblock %}
{% block metas %}
{{ parent() }}
<meta name="og:description" content="{{ page.excerpt }}">
<meta name="twitter:description" content="{{ page.excerpt }}">
{% endblock %}
{% block content_wrapper %}
{% include 'post/header' %}
{% include 'post/intro-image' %}
<div class="markup post mb-6">
{% include 'post/old-post-message' %}
{% block content %}{% endblock %}
</div>
<div class="mb-6">
{% include 'post/questions-comments' %}
{% include 'post/tags' %}
</div>
{% include 'post/about-author' %}
{% endblock %}

View file

@ -0,0 +1,31 @@
{% extends 'default' %}
{% block metas %}
{{ parent() }}
<meta name="og:description" content="{{ page.description }}">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="{{ page.description }}">
{% endblock %}
{% block content_wrapper %}
<div class="spaced-y-8">
<div class="markup spaced-y-6">
{% block content %}{% endblock %}
<section>
<h2 class="sr-only">Give me feedback</h2>
<p>
<strong>Want to give me feedback for this talk?</strong>
Im <a href="{{ site.twitter.url }}" title="Leave me feedback on Twitter">@{{ site.twitter.user }}</a> on Twitter or <a href="/contact">send me an email</a>.
</p>
</section>
</div>
{% include 'talk/slides' %}
{% include 'talk/video' %}
{% include 'talk/tweets' %}
{% include 'talk/events' with { events: get_events_for_talk(page, site.events) } only %}
</div>
{% endblock %}