From de79b13286cfdbbc82d3efd393ad4944cfdef01f Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Thu, 28 Sep 2017 12:47:26 -0400 Subject: [PATCH] Replace horsey with Pixabay's autocomplete (#75) --- layouts/partials/header.html | 4 +- layouts/partials/search.html | 2 +- static/css/auto-complete.css | 47 + static/css/horsey.css | 35 - static/js/auto-complete.js | 223 +++++ static/js/horsey.js | 1571 ---------------------------------- static/js/search.js | 50 +- 7 files changed, 299 insertions(+), 1633 deletions(-) create mode 100644 static/css/auto-complete.css delete mode 100644 static/css/horsey.css create mode 100644 static/js/auto-complete.js delete mode 100644 static/js/horsey.js diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 0d6bac64066..0b7dd4ebc0b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,7 +14,7 @@ - + {{with .Site.Params.themeVariant}} @@ -92,4 +92,4 @@

{{.Title}}

{{else}} {{.value|safeHTML}} {{end}} - {{end}} \ No newline at end of file + {{end}} diff --git a/layouts/partials/search.html b/layouts/partials/search.html index 180c322e2dd..394846df90c 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -5,7 +5,7 @@ {{ $assetBusting := not .Site.Params.disableAssetsBusting }} - +