<div class="header">
        <div class="wrapper">
            <a href="/" class="logo">
                <img src="data:image/png;base64,[encoded data, 7204 characters]">
                <p>{{data['setting']['web']['name']}} <span>{{data['setting']['web']['subname']}}</span></p>
            </a>
            <ul class="nav">
                {% for v in data['setting']['menu'] %}
                <li {% if '/' + data['setting']['cur'] == v['link'] %}class="cur"{% end %}><a href="{% if v['link'] == '/main' %}/{% else %}{{v['link']}}{% end %}" {%if 'http://' in v['link'] %}target="_blank"{% end %}>{{v['name']}}</a></li>
                {% end %}
            </ul>
        </div>
    </div>