diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 16:45:53 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 16:45:53 -0500 |
commit | 5022d1a0df1534b1cbec1cbee23568f201ea1cc6 (patch) | |
tree | 559db39e2be5933c621a02c3f9874641b7f1a70c /tmpl/page.html.erb | |
parent | f63a89bb8c494ea6b049285ec7c904d6d6136a88 (diff) |
Implement actual file generation, go through fixing things.
Diffstat (limited to 'tmpl/page.html.erb')
-rw-r--r-- | tmpl/page.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpl/page.html.erb b/tmpl/page.html.erb index dae08eb..fb5ddaa 100644 --- a/tmpl/page.html.erb +++ b/tmpl/page.html.erb @@ -29,7 +29,7 @@ </article> <footer> <%= atom_rights %> - <p>Page source: <a href="<%= url.route_to(local_srcurl) %>"><%= File.basename(local_srcurl.to_s) %></a></p> + <% if local_srcurl %><p>Page source: <a href="<%= url.route_to(local_srcurl) %>"><%= File.basename(local_srcurl.to_s) %></a></p><% end %> <p>Website source: <a href="https://git.andrewdm.me/www.git">www.git</a></p> </footer> </body> |