Merge pull request #6 from binaryoverload/master

Introduce Twitter Card Metadata into Image Template
This commit is contained in:
ZizzyDizzyMC 2021-10-10 16:29:49 -04:00 committed by GitHub
commit a327bb8dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block head %} {% block head %}
<meta name="twitter:card" content="summary_large_image">
<meta property="og:image" content="{{ siteurl }}{{ sitepath }}{{ selifpath }}{{ filename }}" /> <meta property="og:image" content="{{ siteurl }}{{ sitepath }}{{ selifpath }}{{ filename }}" />
{% endblock %} {% endblock %}
@ -8,4 +9,4 @@
<a href="{{ sitepath }}{{ selifpath }}{{ filename }}"> <a href="{{ sitepath }}{{ selifpath }}{{ filename }}">
<img class="display-image" src="{{ sitepath }}{{ selifpath }}{{ filename }}" /> <img class="display-image" src="{{ sitepath }}{{ selifpath }}{{ filename }}" />
</a> </a>
{% endblock %} {% endblock %}