{% extends 'base.html.twig' %}
{% block title %}
    {% if item.seo_title is empty %}
        {{ item.title }} - {{ cover('site','title') }}
    {% else %}
        {{ item.seo_title }} - {{ cover('site','title') }}
    {% endif %}
{% endblock %}
{% block keywords %}{{ item.keywords }}{% endblock %}
{% block description %}{{ item.description }}{% endblock %}
{% block container %}

    <div class="sui-navbar cv-subnav">
        <div class="navbar-inner">
            <div class="sui-container">
                <a href="{{ current_cat.url }}" class="sui-brand">{{ current_cat.title }}</a>
                <ul class="sui-nav pull-right" style="margin-right: 30px;">
                    {% for son_cat in cover('category',{'parent_id':current_cat.parent_id,'except':current_cat.id}) %}
                        <li><a href="{{ son_cat.url }}">{{ son_cat.title }}</a></li>
                    {% endfor %}
                </ul>
            </div>
        </div>
    </div>

    <div class="sui-container">

        <div class="sui-row">

            <div class="span2"></div>
            <div class="span8">
                <div class="cv-newsroow-eyebrow">
                    <span class="cv-newsroow-release">新闻稿</span>
                    <span class="cv-newsroow-date">{{ item.create_time|date('Y-m-d H:i:s') }}</span>
                    <h1 class="title">{{ item.title }}</h1>
                </div>
                <div class="cv_fulltext">
                    {{ item.full_text|raw }}
                </div>
            </div>
            <div class="span2"></div>
        </div>

    </div>

{% endblock %}