mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2024-11-23 17:39:43 +00:00
5641d7e51a
ALSO: Remove fading on dropdown menu click. This is also a bug on the actual upstream, when the cursor leaves the screen the menu disappears but the fading doesn't. This causes things like the menu saying it's open when it's not and closed when open. I'm not dealing with an upstream bug.
43 lines
1.5 KiB
HTML
43 lines
1.5 KiB
HTML
---
|
|
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" 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 googleCustomSearchExecute();" id="cse-search-box-form-id">
|
|
<input type="text" id="cse-search-input-box-id" class="search-input" 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>
|