Skip to content

Commit de7185e

Browse files
committed
Treating the index page as the same as other pages.
1 parent 8fd16c3 commit de7185e

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

libs/network/doc/templates/layout.html

+8-10
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{% endblock %}
3333

3434
{% block document %}
35-
<div id="custom-doc" class="{% block bodyclass %}{{ 'yui-t4' if pagename != 'index' else '' }}{% endblock %}">
35+
<div id="custom-doc" class="{% block bodyclass %}yui-t4{% endblock %}">
3636
<div id="hd">
3737
<h1><a href="{{ pathto('index') }}">{{ docstitle }}</a></h1>
3838
<div class="nav">{{ secondnav() }}</div>
@@ -47,15 +47,13 @@ <h1><a href="{{ pathto('index') }}">{{ docstitle }}</a></h1>
4747
</div>
4848
</div>
4949
{% block sidebarwrapper %}
50-
{% if pagename != 'index' %}
51-
<div class="yui-b" id="sidebar">
52-
{{ sidebar() }}
53-
{%- if last_updated %}
54-
<h3>Last update:</h3>
55-
<p class="topless">{{ last_updated }}</p>
56-
{%- endif %}
57-
</div>
58-
{% endif %}
50+
<div class="yui-b" id="sidebar">
51+
{{ sidebar() }}
52+
{%- if last_updated %}
53+
<h3>Last update:</h3>
54+
<p class="topless">{{ last_updated }}</p>
55+
{%- endif %}
56+
</div>
5957
{% endblock %}
6058
</div>
6159

0 commit comments

Comments
 (0)