1
0
Fork 0
forked from wezm/wezm.net

Add App.net to post footer

This commit is contained in:
Wesley Moore 2012-10-29 20:49:15 +11:00
parent 34d974805d
commit 7cf3653cb4

View file

@ -1,4 +1,5 @@
<% post_date = WezM::Helpers.parse_post_date(@item) %>
<% short = @item[:short_url] %>
<div class="published">
Published on
<abbr class="calender date" title="<%= post_date.iso8601 %>">
@ -11,7 +12,8 @@
<%= yield %>
<div id="respond">
<h2>Something to Add?</h2>
<p>Contact me by email or Twitter if you have a comment, correction or just want to get in touch.</p>
<p>Contact me by email, App.net or Twitter if you have a comment, correction
or just want to get in touch.</p>
<ul class="inline">
<li>
<script type="text/javascript">
@ -51,7 +53,9 @@
</script>
</li>
<li>
<% short = @item[:short_url] %>
<a href="https://alpha.app.net/intent/post?text=<%= URI.encode("#{@item[:title]} - #{short} @wezm") %>" target="_blank">Post on App.net</a>
</li>
<li>
<a href="http://twitter.com/home?status=<%= URI.encode("#{@item[:title]} - #{short} @wezm") %>" target="_blank">Tweet</a>
</li>
<li class="short">Short URL: <a href="<%= short %>"><%= short %></a></li>