Mercurial Hosting > nabble
comparison src/nabble/modules/naml/social_tweet.naml @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7ecd1a4ef557 |
---|---|
1 <macro name="tweet_button" requires="node"> | |
2 <span style="vertical-align:-5px"> | |
3 <iframe | |
4 src="[n.encode_url.]http://platform.twitter.com/widgets/tweet_button.html?url=[n.url/]&text=[n.subject/]&count=horizontal[/n.encode_url.]" | |
5 scrolling="no" | |
6 frameborder="0" | |
7 allowtransparency="true" | |
8 style="width:100px;height:20px"></iframe> | |
9 </span> | |
10 </macro> | |
11 | |
12 <override_macro name="topic_right_controls" requires="blog_topic_namespace"> | |
13 <n.page_node.tweet_button/> | |
14 | |
15 <n.overridden/> | |
16 </override_macro> | |
17 | |
18 <override_macro name="topic_controls_right" requires="forum_topic_namespace"> | |
19 <n.page_node.tweet_button/> | |
20 <n.overridden/> | |
21 </override_macro> |