{% set link = '' %}

{% if (_links['type'] == 'back') %}
{% set link = 'javascript:history.go(-1);' %}
{% else %}
{% set link = _links['link'] %}
{% endif %}

{% set siteName =  _title  %}

<!DOCTYPE html>
<html>
<head>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
    <title><?=siteName?></title>
    <script src="/dev/js/logo.js"></script>
    <link rel="stylesheet" media="all" href="/gitlab/assets/application.css"/>
    <link rel="stylesheet" type="text/css" href="/dev/css/not_found.css">
</head>

<body>
<div class="not-found vertical">
    <div class="inner">
        <div class="img">
            <img src="/gitlab/images/logo.png" />
        </div>
        <div class="text">
            <div class="type"></div>
            <div class="" ><p><?=_title|raw?></p></div>
            <div class=" alert  <?=_color_type?>" role="alert"><?=_content|raw?></div>
            <!--
            {% if (message is defined) %}
                <?= message ?>
             {% endif %} -->
            <div class="you-can">
                您可以：
                <a class="btn btn-default" href="<?=_links.link?>"><?=_links.title?></a>
            </div>
        </div>
    </div>
</div>
</body>
</html>
