1 {% extends "base.html" %}
2 {% block title %}{{ article.title }} - {{ SITENAME }}{% endblock %}
6 <meta name="description" content="{{ article.summary|striptags }}">
8 {% if PELICAN_SIMPLEGREY_TWITTER_CARD_ACCOUNT %}
9 <meta name="twitter:card" content="summary">
10 <meta name="twitter:creator" content="@{{ PELICAN_SIMPLEGREY_TWITTER_CARD_ACCOUNT }}">
11 <meta name="twitter:title" content="{{ article.title }}">
12 <meta name="twitter:description" content="{{ article.summary|striptags }}">
13 <meta name="twitter:url" content="{{ SITEURL }}/{{ article.url }}">
19 <article class="full">
21 <h1>{{ article.title }}</h1>
23 {% include 'metadata.inc.html' %}
30 <!-- Twitter social -->
31 <a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-size="large">Tweet</a>
32 <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
34 <!-- Reddit social -->
35 <script type="text/javascript" src="//www.redditstatic.com/button/button3.js"></script>
38 {% if DISQUS_SITENAME %}
39 <div class="comments">
41 <div id="disqus_thread"></div>
42 <script type="text/javascript">
43 var disqus_identifier = "{{ article.url }}";
45 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
46 dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
47 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);