Mercurial Hosting > nabble
view 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 |
line wrap: on
line source
<macro name="tweet_button" requires="node"> <span style="vertical-align:-5px"> <iframe src="[n.encode_url.]http://platform.twitter.com/widgets/tweet_button.html?url=[n.url/]&text=[n.subject/]&count=horizontal[/n.encode_url.]" scrolling="no" frameborder="0" allowtransparency="true" style="width:100px;height:20px"></iframe> </span> </macro> <override_macro name="topic_right_controls" requires="blog_topic_namespace"> <n.page_node.tweet_button/> <n.overridden/> </override_macro> <override_macro name="topic_controls_right" requires="forum_topic_namespace"> <n.page_node.tweet_button/> <n.overridden/> </override_macro>