New pdf/source icons.
h3rald h3rald@h3rald.com
Sat, 24 Apr 2010 15:22:03 +0200
4 files changed,
3 insertions(+),
3 deletions(-)
M
content/css/_layout.sass
→
content/css/_layout.sass
@@ -11,7 +11,7 @@
html, body height: 100% line-height: 1.2 - background: #000 url(../images/theme/pattern.jpg) + background: #121212 p, ol, ul margin: 0.5em 0
M
layouts/default.erb
→
layouts/default.erb
@@ -79,8 +79,8 @@ <span><script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#publisher=6e34d60c-b14e-4c19-9b2f-7c35a9f0ab09&type=website&linkfg=%23a4282d"></script></span>
<% if @item[:feed] then %> <span><a href="<%= @item[:feed_url] || @item[:feed]+"rss/" %>" type="application/rss+xml" rel="alternate"><img src="/images/theme/feed.png" alt="#"/>RSS Feed</a></span> <% end %> - <% if @item[:feed] then %> - <span><a href="<%= @item.identifier.chop %>.pdf" ><img src="/images/theme/pdf.png" alt="#"/>PDF</a></span> + <% if @item[:pdf] then %> + <span><a href="<%= @item.identifier.chop %>.pdf" ><img src="/images/theme/pdf.png" alt="#"/>Download PDF</a></span> <% end %> <span><a href="http://github.com/h3rald/h3rald/raw/master/<%= @item[:file].path %>?iframe" class="fancybox"><img src="/images/theme/source.png" alt="#"/>View Source</a></span> </div>