Revert "Changes from today's live stream"

This reverts commit 1bb48e633e.
This commit is contained in:
Oliver Davies 2024-09-10 09:59:24 +01:00
parent c4af8a7475
commit 707cd60ead
9 changed files with 31 additions and 1062 deletions

View file

@ -5,23 +5,20 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }} - {{ site.name }}</title>
<link rel="stylesheet" href="/dist/app.css">
</head>
<body class="dark:bg-black dark:text-white">
<body>
{% block body %}
<div class="mx-auto max-w-3xl">
<h1 class="text-4xl font-bold dark:text-white">{% block page_title %}{{ page.title }}{% endblock %}</h1>
<h1>{% block page_title %}{{ page.title }}{% endblock %}</h1>
{% block content_wrapper %}
{% block content %}{% endblock %}
{% endblock %}
{% block content_wrapper %}
{% block content %}{% endblock %}
{% endblock %}
<hr class="my-10" />
<hr />
<footer class="mb-6">
<p>This website is open source. <a class="text-primary underline hover:no-underline" href="{{ site.github.url }}/edit/main/source/{{ page.relative_pathname }}">Improve this page</a>.</p>
</footer>
{% endblock %}
<div>
<footer>
<p>This website is open source. <a href="{{ site.github.url }}/edit/main/source/{{ page.relative_pathname }}">Improve this page</a>.</p>
</footer>
{% endblock %}
</body>
</html>

View file

@ -9,37 +9,27 @@
{% endblock %}
{% block content_wrapper %}
<div class="my-4">
<time date="{{ page.date|date('c') }}">{{ page.date|date }}</time>
</div>
<time date="{{ page.date|date('c') }}">{{ page.date|date }}</time>
<div class="markdown">
{% block content %}{% endblock %}
</div>
{% block content %}{% endblock %}
<div class="mt-10 gap-10 grid">
{% if page.links is not empty %}
<section>
<h2 class="text-lg font-bold">Links</h2>
{% if page.links is not empty %}
<h2>Links</h2>
<ul class="list-disc pl-4">
{% for url in page.links %}
<li><a class="text-primary underline hover:no-underline" href="{{ url }}">{{ url }}</a></li>
{% endfor %}
</ul>
</section>
{% endif %}
<ul>
{% for url in page.links %}
<li><a href="{{ url }}">{{ url }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if page.tags is not empty %}
<section>
<h2 class="text-lg font-bold">Tags</h2>
{% if page.tags is not empty %}
<h2>Tags</h2>
<ul class="list-disc pl-4">
{% for tag in page.tags|sort %}
<li>{{ tag }}</li>
{% endfor %}
</ul>
</section>
{% endif %}
</div>
<ul>
{% for tag in page.tags|sort %}
<li>{{ tag }}</li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}