Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added HTML class "tag" to allow CSS customization

  • Loading branch information...
commit c63775d0117f7d3322b5512be3be46b5ad97b5fd 1 parent 6c203e4
@schettino72 schettino72 authored
View
2  nikola/data/themes/default/templates/post_helper.tmpl
@@ -22,7 +22,7 @@
%if post.tags:
  |  ${messages[lang]["More posts about"]}
%for tag in post.tags:
- <a href="${_link('tag', tag, lang)}"><span class="badge badge-info">${tag}</span></a>
+ <a class="tag" href="${_link('tag', tag, lang)}"><span class="badge badge-info">${tag}</span></a>
%endfor
%endif
</%def>
View
2  nikola/data/themes/default/templates/tags.tmpl
@@ -6,7 +6,7 @@
<h1>${title}</h1>
<ul class="unstyled">
% for text, link in items:
- <li><a href="${link}"><span class="badge badge-info">${text}</span></a>
+ <li><a class="tag" href="${link}"><span class="badge badge-info">${text}</span></a>
% endfor
</ul>
<!--End of body content-->
Please sign in to comment.
Something went wrong with that request. Please try again.