diff options
author | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-04-09 16:49:41 +0200 |
---|---|---|
committer | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-04-09 16:49:41 +0200 |
commit | b4296adf174e57ca9e2218d7ec177afa9e396c19 (patch) | |
tree | 0eb9d7b66e7a792f17178d0e4137d60f84c15f62 | |
parent | e0c4c8134e736793fcca621a4463cbc2c9dc6783 (diff) |
removed generated blog layout
-rw-r--r-- | source/layout.erb | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/source/layout.erb b/source/layout.erb deleted file mode 100644 index 36c3da9..0000000 --- a/source/layout.erb +++ /dev/null @@ -1,38 +0,0 @@ -<!doctype html> -<html> - <head> - <meta charset="utf-8" /> - <meta http-equiv='X-UA-Compatible' content='IE=edge;chrome=1' /> - <title>Blog Title<%= ' - ' + current_article.title unless current_article.nil? %></title> - <%= feed_tag :atom, "#{blog.options.prefix.to_s}/feed.xml", title: "Atom Feed" %> - </head> - <body> - - <div id="main" role="main"> - <%= yield %> - </div> - - <aside> - <h2>Recent Articles</h2> - <ol> - <% blog.articles[0...10].each do |article| %> - <li><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></li> - <% end %> - </ol> - - <h2>Tags</h2> - <ol> - <% blog.tags.each do |tag, articles| %> - <li><%= link_to "#{tag} (#{articles.size})", tag_path(tag) %></li> - <% end %> - </ol> - - <h2>By Year</h2> - <ol> - <% blog.articles.group_by {|a| a.date.year }.each do |year, articles| %> - <li><%= link_to "#{year} (#{articles.size})", blog_year_path(year) %></li> - <% end %> - </ol> - </aside> - </body> -</html> |