diff --git a/models/content.rb b/models/content.rb
index 0c375e4..67af930 100644
--- a/models/content.rb
+++ b/models/content.rb
@@ -21,7 +21,7 @@ def content
self.methods.sort.each do |m|
content_plugins = self.send(m, content_plugins) if m =~ /^plugin_/
end
- RDiscount.new(content_plugins).to_html
+ RDiscount.new(content_plugins).to_html.chomp
end
def link
"/#{self.year}/#{self.month}/#{self.day}/#{self.nicetitle}/"
diff --git a/themes/default/archive.erb b/themes/default/archive.erb
index 344ce66..5315f88 100644
--- a/themes/default/archive.erb
+++ b/themes/default/archive.erb
@@ -1,16 +1,14 @@
-
Everything tagged with ‘<%= @tag %>’ on <%= Sinatra.options.name %>:
-
-<% @posts.each do |post| %>
-
<%= link_to post.title, post.link %>
- A <%= post.class.to_s.downcase %> published on <%= post.date %>, filed under <%= tag_list post.tags %>
-<% end %>
-
-
-<% if !@archives.nil? %>
-
-
More...
- <% @archives.each do |post| %><%= link_to post.title, post.link %> (<%= post.date %>)
<% end %>
-
-<% end %>
-
-
\ No newline at end of file
+ Everything tagged with ‘<%= @tag %>’ on <%= Sinatra.options.name %>:
+
+ <% @posts.each do |post| %>
+
<%= link_to post.title, post.link %>
+ A <%= post.class.to_s.downcase %> published on <%= post.date %>, filed under <%= tag_list post.tags %>
+ <% end %>
+
+ <% if !@archives.nil? %>
+
+
More...
+ <% @archives.each do |post| %><%= link_to post.title, post.link %> (<%= post.date %>)
<% end %>
+
+ <% end %>
+
\ No newline at end of file
diff --git a/themes/default/home.erb b/themes/default/home.erb
index 6aa3d1e..67b5a92 100644
--- a/themes/default/home.erb
+++ b/themes/default/home.erb
@@ -1,23 +1,24 @@
-
+
<% @posts.each do |post| %>
-
-
<%= link_to post.title, post.link %>
-
posted on <%= post.date %>, filed under <%= tag_list post.tags %>
-
- <%= post.content %>
-
- <%= "
View Comments
" if Sinatra.options.use_comments %>
-
+
+
<%= link_to post.title, post.link %>
+
posted on <%= post.date %>, filed under <%= tag_list post.tags %>
+
+ <%= post.content %>
+
+ <%= "
View Comments
" if Sinatra.options.use_comments %>
+
+
<% end %>
-
-
+
+
<% if !@archives.nil? %>
-
-
archives...
- <% @archives.each do |post| %>
- <%= link_to post.title, post.link %> (<%= post.date %>)
- <% end %>
-
+
+
archives...
+ <% @archives.each do |post| %>
+ <%= link_to post.title, post.link %> (<%= post.date %>)
+ <% end %>
+
+
<% end %>
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/themes/default/layout.erb b/themes/default/layout.erb
index ce6b2a4..4181d7b 100644
--- a/themes/default/layout.erb
+++ b/themes/default/layout.erb
@@ -13,11 +13,13 @@
<%= yield %>
+
about
this is the home of <%= Sinatra.options.author_name %>.
i talk about <%= tag_list @tags %>
+
<%= reinvigorate unless development? %>