<div class="form-group search">
    <input type="text" class="form-control" id="search" placeholder="Search the docs...">
    <i class="glyphicon glyphicon-search"></i>
</div>

@if (config('services.algolia.key'))
    <div class="form-group search">
        <input type="text" class="form-control" id="search" placeholder="Search the docs...">
        <i class="glyphicon glyphicon-search"></i>
    </div>
@endif

Check if algolia api key is set.
Check if algolia api key is set.
