diff options
Diffstat (limited to 'bin/page.html.erb')
-rw-r--r-- | bin/page.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/page.html.erb b/bin/page.html.erb index 8317282..908790c 100644 --- a/bin/page.html.erb +++ b/bin/page.html.erb @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title><%= @page.title %></title> + <title><%= @page.title %><% unless @page.title.empty? %> — <% end %>AndrewDM</title> <link rel="stylesheet" href="/main.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> <%= @page.head %> @@ -24,7 +24,7 @@ </nav> </header> <article> - <% if @page.tags.count > 0 %><p>Tags: <%= @page.tags.join(' ') %></p><% end %> + <% if @page.tags.count > 0 %><p>Tags: <% @page.tags.each do |t| %><%= t.html %><% end %></p><% end %> <% if @page.showtitle %><h1 class=title><%= @page.title %></h1><% end %> <%= @page.content %> </article> |