{{photos['title']}} diff --git a/templates/front/photos/index.html.twig b/templates/front/photos/index.html.twig index 85d9d5d..73b0caf 100644 --- a/templates/front/photos/index.html.twig +++ b/templates/front/photos/index.html.twig @@ -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 %} Photography diff --git a/templates/front/post/detail.html.twig b/templates/front/post/detail.html.twig index ee4acd5..9081364 100644 --- a/templates/front/post/detail.html.twig +++ b/templates/front/post/detail.html.twig @@ -4,9 +4,12 @@ {% 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 metadescription %}{{post.description|striptags }} {% endblock %} +{% block ogdescription %}{{post.description|striptags}} {% endblock %} +{% block twitterdescription %}{{post.description|striptags }} {% endblock %} + +{% block ogurl %}https://alexdaniels.me/words/{{post.url}}{% endblock %} +{% block twitterurl %}https://alexdaniels.me/words/{{post.url}}{% endblock %} {% block body %} diff --git a/templates/front/post/index.html.twig b/templates/front/post/index.html.twig index 5fb8032..5dd2f1f 100644 --- a/templates/front/post/index.html.twig +++ b/templates/front/post/index.html.twig @@ -9,6 +9,9 @@ {% 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 ogurl %}https://alexdaniels.me/words{% endblock %} +{% block twitterurl %}https://alexdaniels.me/words{% endblock %} + {% block body %} Writing @@ -19,9 +22,10 @@ {% for post in posts %} - {{post['category']}} - {{post['title']}} - {{post['date']|date('l M d Y')}} + {{ post['category'] }} + {{post['title'] }} + {{post['date']|date('l M d Y') }} + {{ post['description']|raw }} {% endfor %}
diff --git a/templates/front/post/index.html.twig b/templates/front/post/index.html.twig index 5fb8032..5dd2f1f 100644 --- a/templates/front/post/index.html.twig +++ b/templates/front/post/index.html.twig @@ -9,6 +9,9 @@ {% 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 ogurl %}https://alexdaniels.me/words{% endblock %} +{% block twitterurl %}https://alexdaniels.me/words{% endblock %} + {% block body %} Writing @@ -19,9 +22,10 @@ {% for post in posts %} - {{post['category']}} - {{post['title']}} - {{post['date']|date('l M d Y')}} + {{ post['category'] }} + {{post['title'] }} + {{post['date']|date('l M d Y') }} + {{ post['description']|raw }} {% endfor %}
- {{post['category']}} - {{post['title']}} - {{post['date']|date('l M d Y')}} + {{ post['category'] }} + {{post['title'] }} + {{post['date']|date('l M d Y') }} + {{ post['description']|raw }}