]> git.parisson.com Git - mezzo.git/commitdiff
[Home] add twitter
authorEmilie <zawadzki@ircam.fr>
Tue, 7 Feb 2017 15:41:23 +0000 (16:41 +0100)
committerEmilie <zawadzki@ircam.fr>
Tue, 7 Feb 2017 15:41:23 +0000 (16:41 +0100)
app/templates/base.html
app/templates/twitter/hashtag.html [new file with mode: 0644]

index f08c46807e870959bc70e3e439bbb2bfbe7663d9..c4a40843a9e0bfeb2c3206654be8c6dddbb31bf6 100644 (file)
@@ -67,7 +67,7 @@
             {% block content_footer %}{% endblock %}
         </main>
 
-        {% include "twitter/tweets.html" %}
+        {% include "twitter/hashtag.html" %}
 
         <footer class="footer" role="footer">
             {% include "includes/footer.html" %}
diff --git a/app/templates/twitter/hashtag.html b/app/templates/twitter/hashtag.html
new file mode 100644 (file)
index 0000000..fac18d7
--- /dev/null
@@ -0,0 +1,4 @@
+{% load i18n %}
+
+<a class="twitter-timeline"  href="https://twitter.com/hashtag/ircam" data-widget-id="717023136743616512">#ircam Tweets</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>