<%- if file.nil? -%>
Not available
<%- else -%>
<a href="<%= file.url %>"><%= file.destination_path %></a>
<%- end -%>

<%- if file.nil? -%>
Not available
<%- else -%>
<%= link_to file.destination_path, file, :relative => true %>
<%- end -%>

Use relative links so they'll work on github pages
Use relative links so they'll work on github pages
