From f66f687b468630242bc59cfd04f77936949e7158 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 16 Nov 2021 15:38:44 -0500 Subject: [PATCH] Render some ldjson info for some pages --- templates/page.html | 16 ++++++++++++++++ templates/section.html | 31 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/templates/page.html b/templates/page.html index 2281592..28460f6 100644 --- a/templates/page.html +++ b/templates/page.html @@ -27,6 +27,22 @@ MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], displayMat {% endif %} + +{# Handle article listing #} + + {% endblock head %} {% block profile %} diff --git a/templates/section.html b/templates/section.html index a35cfea..a6b0549 100644 --- a/templates/section.html +++ b/templates/section.html @@ -13,6 +13,37 @@ {% endif %} + +{# Handle listing blog posts nicely in search #} +{% if section.extra.inject_blog_posts %} + +{% endif %} {% endblock head %} {% block content %}