Metatag fixes, front end description work
This commit is contained in:
parent
d09f49ed24
commit
2907e95d6b
13 changed files with 48 additions and 15 deletions
|
|
@ -5,12 +5,15 @@
|
|||
{% 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 metadescription %}{{photos['description']|striptags}} {% endblock %}
|
||||
{% block ogdescription %}{{photos['description']|striptags}} {% endblock %}
|
||||
{% block twitterdescription %}{{photos['description']|striptags }} {% endblock %}
|
||||
{% block ogimage %}{{ photos['thumbnail']}}{% endblock %}
|
||||
{% block twitterimage %}{{ photos['thumbnail']}}{% endblock %}
|
||||
|
||||
{% block ogurl %}https://alexdaniels.me/photos/{{photos['url']}}{% endblock %}
|
||||
{% block twitterurl %}https://alexdaniels.me/photos/{{photos['url']}}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<article id="album">
|
||||
<h2 class="title">{{photos['title']}}</h2>
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@
|
|||
{# {% block ogimage %}{{ photos['thumbnail']}}{% endblock %}
|
||||
{% block twitterimage %}{{ photos['thumbnail']}}{% endblock %} #}
|
||||
|
||||
{% block ogurl %}https://alexdaniels.me/photos{% endblock %}
|
||||
{% block twitterurl %}https://alexdaniels.me/words{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h2>Photography</h2>
|
||||
<div class="photos">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue