Customize theme CityZen

Theme: CityZen

Add language switch to menu

Template file: _nav.html

change:

add

<li class="nodrop">
<a href="http://zh.nationbuilder.com{{ page.url }}">中文</a>
</li>

between {% endfor %} and </ul>.

Remove side bar from CityZen theme

Template file: layout.html

change:

from:

{% if request.is_sidebar? %}
<div class="clearfix" id="sidebar">{% include "sidebar" %}</div>
{% endif %}

to

{% if not request.is_sidebar? %}
<div class="clearfix" id="sidebar">{% include "sidebar" %}</div>
{% endif %}

 

 

Advertisements

Leave a Reply