diff options
| author | Dennis Fink | 2026-07-14 19:38:31 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-07-14 19:38:31 +0200 |
| commit | 5c65f40bbca27dfb26e75cb027f287b2aa78cd3a (patch) | |
| tree | b21a1d58ee9efde63f7a5a1f7545b2c6bd03a4ef /templates/index.html | |
| parent | 206400382a5c111842fd77c8418ad94a85f2da99 (diff) | |
| download | dennisfink.me-5c65f40bbca27dfb26e75cb027f287b2aa78cd3a.tar.gz dennisfink.me-5c65f40bbca27dfb26e75cb027f287b2aa78cd3a.zip | |
Add structured data and microformats
This adds JSON-LD for the site, author, blog, and individual blog posts, so
search engines and other consumers can understand the blog structure more
clearly.
It also adds Microformats2 classes to blog posts and the about page, keeping
machine-readable author, post, category, date, and content data attached to the
visible HTML.
Diffstat (limited to '')
| -rw-r--r-- | templates/index.html | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/templates/index.html b/templates/index.html index 0ee96c7..396114f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,15 +1 @@ -{% extends "base.html" %} - -{% from "macros/blog.html" import render_blog_index %} - -{% block meta %} - {{ super() }} - <meta property="og:type" content="website"> -{% endblock %} -{% block styles %} - {{ super() }} - <link rel="stylesheet" - type="text/css" - href="{{ '/static/css/blog.css'|asseturl }}"> -{% endblock %} -{% block content %}{{ render_blog_index(this.pagination) }}{% endblock %} +{% include "blog.html" %} |
