diff options
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/index.md.erb | 3 | ||||
-rw-r--r-- | tmpl/index.md.erb.bak | 12 | ||||
-rw-r--r-- | tmpl/page.html.erb | 4 |
3 files changed, 4 insertions, 15 deletions
diff --git a/tmpl/index.md.erb b/tmpl/index.md.erb index 2febcb5..e7e9b9f 100644 --- a/tmpl/index.md.erb +++ b/tmpl/index.md.erb @@ -1,5 +1,6 @@ --- -title: "<%= atom_title %>" +title: "<%= index_title %>" +author: "<%= index_author.name %>" class: "index" --- diff --git a/tmpl/index.md.erb.bak b/tmpl/index.md.erb.bak deleted file mode 100644 index a3ec547..0000000 --- a/tmpl/index.md.erb.bak +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "<%= @title %>" -class: "index" ---- - -<% @sections.keys.sort.each do |path| %> -<% unless path.empty? %>## [<%= @sections[path]['head'] %>](<%= path %>)<% end %> - -<% @sections[path]['body'].sort_by{|a|a.published}.reverse.each do |a| %> - * <span><a <% if a.is_a?(ExternPage) %>class="external" <% end %>href="<%= @url.route_to(a.url) %>" title="Published on <%= a.published.strftime('%Y-%m-%d') %><% if a.updated != a.published %> (updated on<%= a.updated.strftime('%Y-%m-%d') %>)<% end %>"><%= a.title %></a></span><span><% a.tags.each do |t| %><%= t.html %><% end %></span><% end %> - -<% end %> diff --git a/tmpl/page.html.erb b/tmpl/page.html.erb index 5dc95ea..883ce9e 100644 --- a/tmpl/page.html.erb +++ b/tmpl/page.html.erb @@ -13,8 +13,8 @@ <nav> <ul> <li><a href="/">Projects</a> - <li><a href="/ChangeLog.html"><abbr title="Blog">Blahg</abbr></a> - <li><a href="/Andrew.html">Andrew</a> + <li><a href="/changelog.html"><abbr title="Blog">Blahg</abbr></a> + <li><a href="/about.html">Andrew</a> <li> <form method="GET" action="/search.html"> <input type=search name="s" placeholder="Search" /><input type=submit value="🔍" /> |