fix about page and css

This commit is contained in:
eggy 2021-04-07 17:41:57 -04:00
parent d62c787632
commit 707068e510
4 changed files with 11 additions and 6 deletions

View File

@ -8,6 +8,4 @@ layout: main
{% include nav %}
<div class="prose dark:prose-dark">
{{ content }}
</div>
{{ content }}

View File

@ -0,0 +1,7 @@
---
layout: default
---
<div class="prose dark:prose-dark">
{{ content }}
</div>

View File

@ -1,5 +1,5 @@
---
layout: default
layout: typical
title: About
---
This site is generated by the static site generator [Eleventy](https://www.11ty.dev) with templates and Markdown — because really, writing HTML by hand is tedious and I don't know why I ever tried — and its source is available [here](https://git.eggworld.tk/eggy/public). The theme this site uses is taken from [here.](https://github.com/kohrongying/11ty-blog-starter)

View File

@ -10,9 +10,9 @@ pagination:
{% for post in pagination.items %}
{% if post.data.published %}
<div class="py-2">
<div class="py-4">
<p>
<span class="text-2xl sm:text-3xl font-bold hover:text-blue-700 leading-tight"><a href="{{ post.url }}">{{ post.data.title }}</a></span>
<span class="text-2xl sm:text-2xl font-bold hover:text-blue-700 leading-tight"><a href="{{ post.url }}">{{ post.data.title }}</a></span>
<span class="text-base sm:text-2xs font-normal"> &middot; {{ post.templateContent | readTime }} min read</span>
</p>
<em>{{ post.date | date: "%Y-%m-%d" }}</em>