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

@ -2,6 +2,15 @@
{% block title %}{{photos['title']}} - Photography | Alex Daniels{% endblock %}
{% block metatitle %}{{photos['title']}} | Alex Daniels {% endblock %}
{% block ogtitle %}{{photos['title']}} | Alex Daniels {% endblock %}
{% block twittertitle %}{{photos['title']}} | Alex Daniels{% endblock %}
{% block metadescription %}{{photos['description']}} {% endblock %}
{% block ogdescription %}{{photos['description']}} {% endblock %}
{% block twitterdescription %}{{photos['description'] }} {% endblock %}
{% block ogimage %}{{ photos['thumbnail']}}{% endblock %}
{% block twitterimage %}{{ photos['thumbnail']}}{% endblock %}
{% block body %}
<article id="album">
<h2 class="title">{{photos['title']}}</h2>

View file

@ -2,6 +2,15 @@
{% block title %}Photography | Alex Daniels{% endblock %}
{% block metatitle %}Photography | Alex Daniels {% endblock %}
{% block ogtitle %}Photography | Alex Daniels {% endblock %}
{% block twittertitle %}Photography | Alex Daniels{% endblock %}
{% block metadescription %}Photo Albums of things I find neat{% endblock %}
{% block ogdescription %}Photo Albums of things I find neat{% endblock %}
{% block twitterdescription %}Photo Albums of things I find neat{% endblock %}
{# {% block ogimage %}{{ photos['thumbnail']}}{% endblock %}
{% block twitterimage %}{{ photos['thumbnail']}}{% endblock %} #}
{% block body %}
<h2>Photography</h2>
<div class="photos">