diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-31 22:48:59 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-31 22:48:59 -0700 |
commit | b864379651d4bfe3d05f98350b720794ffa2806a (patch) | |
tree | c4bc81a8371694d661b10118b4932480aaa37d0b /bin/page.html.erb | |
parent | 7445ea9d56071cfca247689e22c6fded65c3f968 (diff) |
more
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> |