<div class="row">
    <div class="col-md-6 offset-md-3">
        {% if sensitive %}
            <div class="card text-bg-danger">
                <div class="card-body">
                    <p class="text-center card-text">搜索词中有敏感词，请重新搜索</p>
                </div>
            </div>
        {% endif %}
        
        <div class="card bg-blue-100 my-3">
            <div class="card-body">
                <h1 class="fs-3">{{ site_name }}超级搜索中心</h1>
                <p>可搜索所有本站相关内容</p>
                <div id="index_searchbox" class="position-relative ms-auto">
                    <form action="/search/" class="d-flex" role="search">
                        <input class="form-control me-2" id="index_searchinput"  type="search" name="key" placeholder="请输入关键词" aria-label="Search">
                        <button class="btn btn-outline-success flex-shrink-0" type="submit">搜索</button>  
                    </form>
                    <div id="result-box" class="text-start"><ul id="result" class="list-group"></ul></div>
                </div>
            </div>
            
        </div>
    </div>
</div>

