{% 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 json_ld %} {{ super() }} {% include "includes/blog-json-ld.html" %} {% if this.publication_date %} {% set post_url = this | url(absolute=True, external=True) %} {% set post_id = post_url ~ '#blogposting' %} {% set person_url = '/about' | url(absolute=True, external=True) %} {% set person_id = person_url ~ '#person' %} {% set blog_url = '/blog' | url(absolute=True, external=True) %} {% set blog_id = blog_url ~ '#blog' %} {% set modified_date = this.publication_date %} {% if this.updated_date %} {% set modified_date = this.updated_date %} {% endif %} {% set post_description = bag('blog.tagline') %} {% if this.description %} {% set post_description = this.description %} {% endif %} {% if this.category %} {% set category = site.get("/categories/" + this.category).name %} {% endif %} {% endif %} {% endblock %} {% block styles %} {{ super() }} {% endblock %} {% block content %}{{ render_blog_post(this) }}{% endblock %}