Permalink
Browse files

Highlight current file in menu tree.

  • Loading branch information...
1 parent 977b5c4 commit f637ad06cc61ea5d6a55ede4ae8449856e253faf @msiebuhr msiebuhr committed Nov 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/index.html
@@ -62,7 +62,7 @@
<span class="dirname" style="padding-left: {{ dir.indent * 1.5 }}em;">{{ dir.dirname }}</span>
{% for file in dir.files %}
- <a href="{{ file.outFileRelative }}">{{ file.sourceFilename }}</a>
+ <a href="{{ file.outFileRelative }}" {% if file.source === title %}style="font-weight: bold;"{% endif %}>{{ file.sourceFilename }}</a>
{% endfor %}
<br/>
{% endfor %}

0 comments on commit f637ad0

Please sign in to comment.