diff --git a/src/_includes/default.liquid b/src/_includes/default.liquid index 6f88f12..41a5b48 100644 --- a/src/_includes/default.liquid +++ b/src/_includes/default.liquid @@ -8,6 +8,4 @@ layout: main {% include nav %} -
- {{ content }} -
+{{ content }} diff --git a/src/_includes/typical.liquid b/src/_includes/typical.liquid new file mode 100644 index 0000000..2ad80c9 --- /dev/null +++ b/src/_includes/typical.liquid @@ -0,0 +1,7 @@ +--- +layout: default +--- + +
+ {{ content }} +
diff --git a/src/about.md b/src/about.md index 731199d..f7aacc4 100644 --- a/src/about.md +++ b/src/about.md @@ -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) diff --git a/src/index.html b/src/index.html index 7fbe4aa..e30304c 100644 --- a/src/index.html +++ b/src/index.html @@ -10,9 +10,9 @@ pagination: {% for post in pagination.items %} {% if post.data.published %} -
+

- {{ post.data.title }} + {{ post.data.title }} · {{ post.templateContent | readTime }} min read

{{ post.date | date: "%Y-%m-%d" }}