fix about page and css
This commit is contained in:
parent
d62c787632
commit
707068e510
@ -8,6 +8,4 @@ layout: main
|
||||
|
||||
{% include nav %}
|
||||
|
||||
<div class="prose dark:prose-dark">
|
||||
{{ content }}
|
||||
</div>
|
||||
{{ content }}
|
||||
|
7
src/_includes/typical.liquid
Normal file
7
src/_includes/typical.liquid
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="prose dark:prose-dark">
|
||||
{{ content }}
|
||||
</div>
|
@ -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)
|
||||
|
@ -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"> · {{ post.templateContent | readTime }} min read</span>
|
||||
</p>
|
||||
<em>{{ post.date | date: "%Y-%m-%d" }}</em>
|
||||
|
Loading…
Reference in New Issue
Block a user