From 351187585adb2187b7f79e1d97b887febb236d51 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 1 May 2018 10:59:19 +0200 Subject: fixed conditional search jquery code to be used on /search only --- content/dataprotection/_index.md | 7 +------ themes/new_theme/layouts/partials/menu.html | 2 +- themes/new_theme/layouts/partials/widgets/elasticlunr_search.html | 2 ++ 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/content/dataprotection/_index.md b/content/dataprotection/_index.md index 9697dcb..2d92266 100644 --- a/content/dataprotection/_index.md +++ b/content/dataprotection/_index.md @@ -12,11 +12,6 @@ or Piwik. I do keep Apache log entries and firewall rules with IP, Date and User-Agent information for at most 7 days in order to fight attacks and spam. -Currently I'm using a Wordpress theme which uses Google fonts. I don't -think Google is using the IPs of the access for anything outside normal -attack and spam prevention. If you know more, I'm glad to hear about it. +Currently I'm using a Wordpress theme which uses Google fonts. For more information about Google Fonts see https://developers.google.com/fonts/faq, section "What does using the Google Fonts API mean for the privacy of my users?". -I'm also willing to cache Google fonts locally or remove them alltogether, -if required. Till then, if you are concerned, use lynx or w3m to browse my -pages in text mode. diff --git a/themes/new_theme/layouts/partials/menu.html b/themes/new_theme/layouts/partials/menu.html index fbeb352..df9c403 100644 --- a/themes/new_theme/layouts/partials/menu.html +++ b/themes/new_theme/layouts/partials/menu.html @@ -3,7 +3,7 @@ {{- if .Site.Menus.main }} {{- $currentNode := . }} {{- range sort .Site.Menus.main }} - {{ if ( not ( eq .Name "Data Protection And Privacy" ) ) }} + {{- if ( not ( eq .Name "Data Protection And Privacy" ) ) }} {{- end }} {{- end }} diff --git a/themes/new_theme/layouts/partials/widgets/elasticlunr_search.html b/themes/new_theme/layouts/partials/widgets/elasticlunr_search.html index c364156..9fa5b34 100644 --- a/themes/new_theme/layouts/partials/widgets/elasticlunr_search.html +++ b/themes/new_theme/layouts/partials/widgets/elasticlunr_search.html @@ -9,6 +9,7 @@ +{{- if ( eq .URL "/search/" ) }} {{- end }} +{{- end }} -- cgit v1.2.3-54-g00ecf