diff options
Diffstat (limited to 'brownstone/templates/base.html')
-rw-r--r-- | brownstone/templates/base.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/brownstone/templates/base.html b/brownstone/templates/base.html index 1387f1b..adf3c6d 100644 --- a/brownstone/templates/base.html +++ b/brownstone/templates/base.html @@ -36,11 +36,11 @@ Released : 20100928 </div> <div id="menu"> <ul> - <li class="current_page_item"><a href="{{ SITEURL }}">Home</a></li> - <li><a href="{{ SITEURL }}/archives.html">Archives</a></li> + <li {% if page_name == "index" %}class="current_page_item"{% endif %}><a href="{{ SITEURL }}">Home</a></li> + <li {% if page_name == "archives" %}class="current_page_item"{% endif %}><a href="{{ SITEURL }}/archives.html">Archives</a></li> {% if DISPLAY_PAGES_ON_MENU %} {% for page in PAGES %} - <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> + <li {% if page_name == page_title %}class="current_page_item"{% endif %}><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor %} {% endif %} </ul> |