Add support for metatags

This commit is contained in:
Alex 2026-06-08 14:12:08 -07:00
parent ae440be40c
commit 4564aa9534
25 changed files with 230 additions and 22 deletions

View file

@ -1,6 +1,12 @@
{% extends 'base.html.twig' %}
{% block title %}{{post.title}} - Writing | Alex Daniels{% endblock %}
{% block title %} {{post.title}} - Writing | Alex Daniels{% endblock %}
{% block metatitle %}{{post.title}} - Writing | Alex Daniels {% endblock %}
{% block twittertitle %}{{post.title}} - Writing | Alex Daniels{% endblock %}
{% block metadescription %}{{post.description }} {% endblock %}
{% block ogdescription %}{{post.description }} {% endblock %}
{% block twitterdescription %}{{post.description }} {% endblock %}
{% block body %}
<article class="post">

View file

@ -2,6 +2,13 @@
{% block title %}Writing | Alex Daniels{% endblock %}
{% block metatitle %}Writing | Alex Daniels {% endblock %}
{% block ogtitle %}Writing | Alex Daniels {% endblock %}
{% block twittertitle %}A truly random smattering of thoughts and feelings. Things may not always be relevant, but they will always be irreverant.{% endblock %}
{% block metadescription %}A truly random smattering of thoughts and feelings. Things may not always be relevant, but they will always be irreverant.{% endblock %}
{% block ogdescription %}A truly random smattering of thoughts and feelings. Things may not always be relevant, but they will always be irreverant.{% endblock %}
{% block twitterdescription %}A truly random smattering of thoughts and feelings. Things may not always be relevant, but they will always be irreverant.{% endblock %}
{% block body %}
<section class="posts">
<h2>Writing</h2>