From e3774713d9befcf8027aaa1f2448f32e80568358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaud=20Lepr=C3=AAtre?= Date: Sun, 13 Nov 2016 20:50:03 +0100 Subject: [PATCH] Remove switfype from code fixes #27 --- exampleSite/config.toml | 1 - .../content/post/Welcome-to-the-new-Tranquilpeak.md | 1 - layouts/partials/head.html | 9 --------- layouts/partials/script.html | 10 ---------- 4 files changed, 21 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0cde7609..65fb664a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -144,7 +144,6 @@ canonifyurls = true # The link at the right of the header is customizable # You can add a link (as an icon) at the right of the header instead of the author's gravatar image or author's picture. # By default, author's gravatar or author's picture is displayed. - # E.g to display a shortcut to open swiftype search window : # url: /#search # icon: search # class: st-search-show-outputs diff --git a/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md b/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md index b981a7df..b2d7a4c5 100644 --- a/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md +++ b/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md @@ -7,7 +7,6 @@ categories: tags: - hexo theme - responsive -- swiftype - gravatar - disqus - google analytics diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 564c024e..be12ed58 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -61,22 +61,13 @@ {{ with .Params.thumbnailImage }} - {{ if $.Site.Params.swiftype_install_key }} - - {{ end }} {{ end }} {{ with .Params.coverImage }} - {{ if $.Site.Params.swiftype_install_key }} - - {{ end }} {{ end }} {{ with .Params.gallery }} {{ range . }} - {{ if $.Site.Params.swiftype_install_key }} - - {{ end }} {{ end }} {{ end }} diff --git a/layouts/partials/script.html b/layouts/partials/script.html index 7fd8e1bb..bdff8f94 100644 --- a/layouts/partials/script.html +++ b/layouts/partials/script.html @@ -48,16 +48,6 @@ {{ end }} {{ end }} {{ end }} -{{ if $.Site.Params.swiftype_install_key }} - -{{ end }} {{ with .Site.Params.algolia }} {{ if (isset . "appId") | and (isset . "apiKey") | and (isset . "indexName") }}