Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/ghostHunter
Submodule ghostHunter added at 42af31
8 changes: 8 additions & 0 deletions default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@
{{!-- Fitvids (for responsive video embeds), infinite scroll, floating header, and gallery card support --}}
<script src="{{asset "built/casper.js"}}"></script>

{{!-- ghostHunter --}}
<script type="text/javascript" src="{{asset "ghostHunter/dist/jquery.ghosthunter.js"}}"></script>
<script>
$("#search-field").ghostHunter({
results: "#results"
});
</script>

{{!-- Scripts for Members subscription --}}
<script>
// Parse the URL parameter
Expand Down
17 changes: 17 additions & 0 deletions home.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ into the {body} of the default.hbs template --}}
</div>
</div>
<div class="fr-header__tools">
<div class="fr-search-bar" id="header-search" role="search">
<label class="fr-label" for="search-784-input">
Recherche
</label>
<input class="fr-input" placeholder="Rechercher" type="search" id="search-784-input" name="search-784-input">
<button class="fr-btn" title="Rechercher">
Rechercher
</button>
</div>
<div class="fr-header__tools-links">
{{#if @site.navigation}}
{{navigation}}
Expand All @@ -58,6 +67,14 @@ into the {body} of the default.hbs template --}}
</header>


<form>
<input id="search-field" />
<input type="submit" value="search">
</form>

<section id="results"></section>


<div class="head-page">
{{> header-background background=@site.cover_image}} {{!--Special header-image.hbs partial to generate the background image--}}
<div class="head-page--wrapper container">
Expand Down