Skip to content

Commit

Permalink
Merge pull request #6 from binaryoverload/master
Browse files Browse the repository at this point in the history
Introduce Twitter Card Metadata into Image Template
  • Loading branch information
ZizzyDizzyMC authored Oct 10, 2021
2 parents 084ac23 + 7d0950e commit a327bb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/display/image.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{% extends "base.html" %}

{% block head %}
<meta name="twitter:card" content="summary_large_image">
<meta property="og:image" content="{{ siteurl }}{{ sitepath }}{{ selifpath }}{{ filename }}" />
{% endblock %}

{% block main %}
<a href="{{ sitepath }}{{ selifpath }}{{ filename }}">
<img class="display-image" src="{{ sitepath }}{{ selifpath }}{{ filename }}" />
</a>
{% endblock %}
{% endblock %}

0 comments on commit a327bb8

Please sign in to comment.