Skip to content

Commit

Permalink
Remove a href from around current_active page in breadcrumb output. R…
Browse files Browse the repository at this point in the history
…eferences #31.

This fix does not close the issue however, while it does solves the problem for the immediate future, a more elegant creation of breadcrumbs output using the pages key in mock_data is warranted.
  • Loading branch information
zeroedin committed Apr 22, 2015
1 parent 8166f48 commit 37b5fd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hammer/services/tags/basic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,14 @@ def self.breadcrumb_list(options)
<<-BREADCRUMB_LIST
<ul class="#{options['ul_class']}">
<li><a href="#home">Home</a></li>
<li class="active"><a href="#page">Page</a></li>
<li class="active">Page</li>
</ul>
BREADCRUMB_LIST
end

def self.breadcrumb_text(options)
<<-BREADCRUMB_LIST
<a href="#home">Home</a>| <a href="#page">Page</a>
<a href="#home">Home</a>| Page
BREADCRUMB_LIST
end
end
Expand Down

0 comments on commit 37b5fd5

Please sign in to comment.