From a4e35942fee745e64db5d0099ba2582e0fb4417e Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 18 Jun 2026 17:57:51 +0200 Subject: Build the first usable version of the blog This adds the Lektor project structure, models, templates, styling, feeds, categories, tags, archives, custom Markdown heading handling, and the initial content needed to make the blog usable. --- templates/blog-post.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 templates/blog-post.html (limited to 'templates/blog-post.html') diff --git a/templates/blog-post.html b/templates/blog-post.html new file mode 100644 index 0000000..6ffb600 --- /dev/null +++ b/templates/blog-post.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} + +{% from "macros/blog.html" import render_blog_post %} + +{% block meta %} + {{ super() }} + + + {% if this.publication_date %} + + {% endif %} + {% if this.updated_date %} + + {% endif %} + {% if this.category %} + {% set category = site.get("/categories/" + this.category) %} + + {% endif %} + {% for t in this.tags %} + + {% endfor %} +{% endblock %} +{% block styles %} + {{ super() }} + +{% endblock %} +{% block content %}{{ render_blog_post(this) }}{% endblock %} -- cgit v1.3.1