aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-05-05 01:53:08 +0300
committerValentin Popov <valentin@popov.link>2023-05-05 01:53:08 +0300
commitd315e182f60169f88ea1182336f36b9c609d74c4 (patch)
tree39196e1ab3c33a19daf4c3ee0059305f68813db4
parent62c64165ce59138972161a41bf2ec6fea00d474f (diff)
downloadpopov.link-d315e182f60169f88ea1182336f36b9c609d74c4.tar.xz
popov.link-d315e182f60169f88ea1182336f36b9c609d74c4.zip
Corrected the name of the blog page
Signed-off-by: Valentin Popov <valentin@popov.link>
-rw-r--r--content/blog/_index.md2
-rw-r--r--templates/blog.html2
2 files changed, 1 insertions, 3 deletions
diff --git a/content/blog/_index.md b/content/blog/_index.md
index 9205dca..e3ef12b 100644
--- a/content/blog/_index.md
+++ b/content/blog/_index.md
@@ -2,5 +2,5 @@
page_template = "post.html"
sort_by = "date"
template = "blog.html"
-title = "Blog posts"
+title = "Blog"
+++
diff --git a/templates/blog.html b/templates/blog.html
index 3602385..934dda8 100644
--- a/templates/blog.html
+++ b/templates/blog.html
@@ -1,8 +1,6 @@
{% extends 'base.html' %}
{% block content %}
-<h1>{{ section.title | trim }}</h1>
-
{% for year, posts in section.pages | group_by(attribute='year') %}
<section>
<h2>{{ year | trim }}</h2>