mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
Add App.net to post footer
This commit is contained in:
parent
34d974805d
commit
7cf3653cb4
1 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue