From 322f6c0728dfb2b86d341bfe45b79cd060144f43 Mon Sep 17 00:00:00 2001 From: Daniel Bayerlein Date: Mon, 6 Mar 2017 20:23:37 +0100 Subject: [PATCH] Remove role attributes intended for tabbed navigation --- source/partials/navigation.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/partials/navigation.haml b/source/partials/navigation.haml index 7cf0e41..c71b217 100644 --- a/source/partials/navigation.haml +++ b/source/partials/navigation.haml @@ -7,7 +7,7 @@ - href = href.call if href.respond_to?(:call) - css_class = %W(nav-#{label.parameterize}) - css_class << "nav-current" if current_page.url == href - %li{class: css_class.join(' '), role: :presentation} + %li{class: css_class.join(' ')} %a{href: href}= label %a.subscribe-button.icon-feed{href: feed_path} Subscribe %span.nav-cover