diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-22 21:05:44 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-22 21:05:44 -0500 |
commit | 61ac134ab6fc68166b2fddeec16914d28e40aa26 (patch) | |
tree | 2a4f41e0a6a5705cad4d420ab26f5149823b11e8 /lib/page.rb | |
parent | a7df47f1ca6226bfb67ccc59a72aafc1f18ecfd1 (diff) |
Re-do CSS.
I also add a few <section> tags, and added classes to a couple of <span>s.
I moved the dnd CSS to a separate file that is currently unused. I assume
I'll add it back soon.
Diffstat (limited to 'lib/page.rb')
-rw-r--r-- | lib/page.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/page.rb b/lib/page.rb index b349dc8..ebc123b 100644 --- a/lib/page.rb +++ b/lib/page.rb @@ -91,11 +91,11 @@ class Page end def index_link(cururl, depth) # FIXME: This code is super gross. - ret = " * <span><a class=\"#{index_class}\" href=\"#{cururl.route_to(url)}\" title=\"Published on #{atom_published.strftime('%Y-%m-%d')}" + ret = " * <span class=link-main><a class=\"#{index_class}\" href=\"#{cururl.route_to(url)}\" title=\"Published on #{atom_published.strftime('%Y-%m-%d')}" if atom_updated != atom_published ret += " (updated on #{atom_updated.strftime('%Y-%m-%d')})" end - ret += "\">#{atom_title}</a></span><span>" + ret += "\">#{atom_title}</a></span><span class=link-categories>" atom_categories.each do |t| ret += t.html end |