summaryrefslogtreecommitdiff
path: root/lib/page.rb
diff options
context:
space:
mode:
authorAndrew Murrell <merl@neo.andrewdm.me>2017-12-26 08:43:24 +0000
committerAndrew Murrell <merl@neo.andrewdm.me>2017-12-26 08:43:24 +0000
commitbc78567716a106042356053d556f57c1ddc13cfc (patch)
tree0c008bddb47699a9dcd62cdeb2e7131a137f64ee /lib/page.rb
parentdb410594baa4bb507aaa23ff98bf8853056b0823 (diff)
parent50830151e8168b8be0100da349ba7e3576054dc3 (diff)
Merge branch 'master' of https://git.andrewdm.me/www
Diffstat (limited to 'lib/page.rb')
-rw-r--r--lib/page.rb4
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