summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2014-12-19 16:00:35 +0000
committerdakkar <dakkar@thenautilus.net>2014-12-19 16:00:35 +0000
commite83a17e3b4802ae54f0f7209e5c025eb78d8ed87 (patch)
tree91862263b1ac8ac9f07efc2c09629ee9f8756f87 /templates
parentbump anime day (diff)
downloadthenautilus-e83a17e3b4802ae54f0f7209e5c025eb78d8ed87.tar.gz
thenautilus-e83a17e3b4802ae54f0f7209e5c025eb78d8ed87.tar.bz2
thenautilus-e83a17e3b4802ae54f0f7209e5c025eb78d8ed87.zip
re-enable twitter widget
Diffstat (limited to 'templates')
-rw-r--r--templates/du2html.xsl41
1 files changed, 8 insertions, 33 deletions
diff --git a/templates/du2html.xsl b/templates/du2html.xsl
index 94972d5..ea08b49 100644
--- a/templates/du2html.xsl
+++ b/templates/du2html.xsl
@@ -282,39 +282,14 @@
</x:template>
<x:template match="/document" mode="twitter">
- <div id="twtr-profile-widget"></div>
- <script src="http://widgets.twimg.com/j/2/widget.js"></script>
- <script>
- new TWTR.Widget({
- version: 2,
- type: 'profile',
- id: 'twtr-profile-widget',
- rpp: 4,
- interval: 6000,
- width: 150,
- height: 100,
- theme: {
- shell: {
- background: '#2b687c',
- color: '#eeeeee'
- },
- tweets: {
- background: '#b3dbe9',
- color: '#444444',
- links: '#1985b5'
- }
- },
- features: {
- scrollbar: false,
- loop: true,
- live: true,
- hashtags: true,
- timestamp: true,
- avatars: false,
- behavior: 'all'
- }
- }).render().setUser('dakkar').start();
- </script>
+ <a class="twitter-timeline"
+ data-dnt="true"
+ href="https://twitter.com/dakkar"
+ data-widget-id="545965003442900992"
+ data-chrome="nofooter transparent"
+ data-theme="dark"
+ >Tweets by @dakkar</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>
</x:template>
<x:template match="/document" mode="amazon">