1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2025-08-24 04:32:20 +00:00

Added cheats and fixed title

This commit is contained in:
J. Fernando Sánchez
2016-02-03 18:56:20 +01:00
parent c90b55f0d3
commit dd10587f27
3 changed files with 20 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ SITENAME }} - {% block content_title %}{% endblock %}</title>
<title>{{ SITENAME }}</title>
<meta name="viewport" content="width=device-width">
<!-- syntax highlighting CSS -->
@@ -31,12 +31,12 @@
<a href="/"><i class="fa fa-home fa-large"></i></a>
</li>
{% for c,carts in categories %}
<li {% if page_name and page_name == c.page_name %} class="active"
<li {% if ( page_name and page_name == c.page_name) or (category and category == c ) %} class="active"
{% endif %} >
<a href="/{{ c.url }}">{{ c.name | capitalize }}</a>
</li>
{% endfor %}
<li {% if page_name == "tags" %} class="active" {%endif%}>
<li {% if page_name == "tags" or tag %} class="active" {%endif%}>
<a href="/tags.html">Tags</a>
</li>
{% for p in pages %} {% if "/page" in p.url %}