{% 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="cv-case-box" style="margin-bottom: 0;">
        <div class="img"><img src="{{ item.cover }}" /></div>
        <div class="cap">
            <h1 class="title">{{ item.title }}</h1>
            <p class="desc">{{ item.description }}</p>
        </div>
    </div>


    <div class="cv-case-d">
        <div class="sui-container" style="background-color: #fff;">

            <div class="sui-row">
                <div class="span2"></div>
                <div class="span8">
                    <div class="cv-case-t">
                        <h2>项目背景 <span class="visit"><a target="_blank" href="{{ item.online }}">查看项目在线地址</a></span></h2>
                        <div class="d">
                            {{ item.background }}
                        </div>
                    </div>
                </div>
                <div class="span2"></div>
            </div>

            <div class="sui-row" style="border-top: 1px solid #e6e6e6;
    margin-left: 0;
    margin-top: 20px;
    padding-top: 20px;">
                <div class="span2"></div>
                <div class="span8">
                    {{ item.full_text|raw }}
                </div>
                <div class="span2"></div>
            </div>

        </div>
    </div>

{% endblock %}