diff options
Diffstat (limited to 'bin/page.html.erb')
-rw-r--r-- | bin/page.html.erb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/page.html.erb b/bin/page.html.erb index a8e5154..694d11a 100644 --- a/bin/page.html.erb +++ b/bin/page.html.erb @@ -9,9 +9,8 @@ </head> <body> <header> + <p><%= @page.breadcrumbs %></p> <h1>Andrew D. Murrell</h1> - <p><%= @page.breadcrumbs %> - (<a href="<%= File.basename(@page.src) %>"><%= File.extname(@page.src).upcase %></a>)</p> <nav> <ul> <li><a href="/">Projects</a> @@ -25,11 +24,14 @@ </nav> </header> <article> - <h1 class=title><%= @page.title %></h1> + <% if @page.tags.count > 0 %><p>Tags: <%= @page.tags.join(' ') %></p><% end %> + <% if @page.showtitle %><h1 class=title><%= @page.title %></h1><% end %> <%= @page.content %> </article> <footer> <%= @page.rights %> + <p>Page source: <a href="<%= File.basename(@page.src) %>"><%= File.basename(@page.src) %></a></p> + <p>Website source: <a href="https://git.andrewdm.me/www.git">www.git</a></p> </footer> </body> </html> |