summaryrefslogtreecommitdiffstats
path: root/themes/lv2/templates/includes/twitter_cards.html
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-23 00:29:11 -0500
committerDavid Robillard <d@drobilla.net>2014-11-23 00:29:11 -0500
commit9839a49f36ee0b637b08b76e8ed5560409c9db3b (patch)
treea232b3860ab733b2fe9a6fd4555d4697299ce9a8 /themes/lv2/templates/includes/twitter_cards.html
parent4e86fd59522c70b3654e5920a60ce748640f5a2c (diff)
downloadlv2site-9839a49f36ee0b637b08b76e8ed5560409c9db3b.tar.xz
Simplify theme.
Diffstat (limited to 'themes/lv2/templates/includes/twitter_cards.html')
-rw-r--r--themes/lv2/templates/includes/twitter_cards.html27
1 files changed, 0 insertions, 27 deletions
diff --git a/themes/lv2/templates/includes/twitter_cards.html b/themes/lv2/templates/includes/twitter_cards.html
deleted file mode 100644
index 3145915..0000000
--- a/themes/lv2/templates/includes/twitter_cards.html
+++ /dev/null
@@ -1,27 +0,0 @@
-{% if TWITTER_CARDS and USE_OPEN_GRAPH %}
- {# Do not include duplicates tag with og ones. #}
- {# Twitter is able to infer them from og. #}
- <meta name="twitter:card" content="summary">
- {% if TWITTER_USERNAME %}
- <meta name="twitter:site" content="@{{ TWITTER_USERNAME }}">
- <meta name="twitter:creator" content="@{{ TWITTER_USERNAME }}">
- {% endif %}
- <meta name="twitter:domain" content="{{ SITEURL }}">
- {% if article %}
- {% if article.og_image %}
- <meta property="twitter:image"
- content="{{ SITEURL }}/{{ article.og_image }}"/>
- {% elif OPEN_GRAPH_IMAGE %}
- <meta property="twitter:image"
- content="{{ SITEURL }}/{{ OPEN_GRAPH_IMAGE }}"/>
- {% endif %}
- {% elif page %}
- {% if page.og_image %}
- <meta property="twitter:image"
- content="{{ SITEURL }}/{{ page.og_image }}"/>
- {% elif OPEN_GRAPH_IMAGE %}
- <meta property="twitter:image"
- content="{{ SITEURL }}/{{ OPEN_GRAPH_IMAGE }}"/>
- {% endif %}
- {% endif %}
-{% endif %}