Sha256: 7ea61a614c4dd77bd773c3dd0046041c9fea836d0c9a1b878d525d42d34db7b0

Contents?: true

Size: 1.49 KB

Versions: 10

Compression:

Stored size: 1.49 KB

Contents

---
layout: default
---

{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
  {% include page__hero.html %}
{% endif %}

{% if page.url != "/" and site.breadcrumbs %}
  {% unless paginator %}
    {% include breadcrumbs.html %}
  {% endunless %}
{% endif %}

<div id="main" role="main">
  {% include sidebar.html %}

  <div class="archive">
    {% unless page.header.overlay_color or page.header.overlay_image %}
      <h1 id="page-title" class="page__title">{{ page.title }}</h1>
    {% endunless %}

    {{ content }}

    {%- assign search_provider = site.search_provider | default: "lunr" -%}
    {%- case search_provider -%}
      {%- when "lunr" -%}
        <input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
        <div id="results" class="results"></div>
      {%- when "google" -%}
        <form onsubmit="return executeQuery();" id="cse-search-box-form-id">
        <input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
        </form>
        <div id="results" class="results">
          <gcse:searchresults-only></gcse:searchresults-only>
        </div>
      {%- when "algolia" -%}
        <div class="search-searchbar"></div>
        <div class="search-hits"></div>
    {%- endcase -%}
  </div>
</div>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
minimal-mistakes-jekyll-4.14.1 _layouts/search.html
minimal-mistakes-jekyll-4.14.0 _layouts/search.html
minimal-mistakes-jekyll-4.13.0 _layouts/search.html
minimal-mistakes-jekyll-4.12.2 _layouts/search.html
minimal-mistakes-jekyll-4.12.1 _layouts/search.html
benimal-mistakes-jekyll-0.3.0 _layouts/search.html
benimal-mistakes-jekyll-0.2.0 _layouts/search.html
benimal-mistakes-jekyll-0.0.2 _layouts/search.html
benimal-mistakes-jekyll-0.0.1 _layouts/search.html
minimal-mistakes-jekyll-4.12.0 _layouts/search.html