From 9a3263dbb95f5ee11c66cfaf6673685888571d51 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 27 Apr 2018 21:04:33 +0200 Subject: nicer search bar, data protection in right widget --- themes/new_theme/layouts/partials/sidebar.html | 3 ++- themes/new_theme/layouts/partials/widgets/categories.html | 2 +- themes/new_theme/layouts/partials/widgets/dataprotection.html | 4 ++++ themes/new_theme/layouts/partials/widgets/elasticlunr_search.html | 2 +- themes/new_theme/layouts/partials/widgets/google_site_search.html | 1 + themes/new_theme/layouts/partials/widgets/strus_search.html | 1 + 6 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 themes/new_theme/layouts/partials/widgets/dataprotection.html (limited to 'themes') diff --git a/themes/new_theme/layouts/partials/sidebar.html b/themes/new_theme/layouts/partials/sidebar.html index 8d20064..8241753 100644 --- a/themes/new_theme/layouts/partials/sidebar.html +++ b/themes/new_theme/layouts/partials/sidebar.html @@ -1,9 +1,10 @@ diff --git a/themes/new_theme/layouts/partials/widgets/categories.html b/themes/new_theme/layouts/partials/widgets/categories.html index 506cb1f..7b93a4e 100644 --- a/themes/new_theme/layouts/partials/widgets/categories.html +++ b/themes/new_theme/layouts/partials/widgets/categories.html @@ -2,7 +2,7 @@ {{- if isset .Site.Taxonomies "categories" }} {{- if not (eq (len .Site.Taxonomies.categories) 0) }}
-

Categories

+

Categories

    {{- range $name, $items := .Site.Taxonomies.categories }} diff --git a/themes/new_theme/layouts/partials/widgets/dataprotection.html b/themes/new_theme/layouts/partials/widgets/dataprotection.html new file mode 100644 index 0000000..68e9390 --- /dev/null +++ b/themes/new_theme/layouts/partials/widgets/dataprotection.html @@ -0,0 +1,4 @@ +

    Data Protection and Privacy

    +
    + Read here about Data Protection and Privacy. +
    diff --git a/themes/new_theme/layouts/partials/widgets/elasticlunr_search.html b/themes/new_theme/layouts/partials/widgets/elasticlunr_search.html index 544be8d..c364156 100644 --- a/themes/new_theme/layouts/partials/widgets/elasticlunr_search.html +++ b/themes/new_theme/layouts/partials/widgets/elasticlunr_search.html @@ -1,5 +1,5 @@ {{- if .Site.Params.widgets.search }} -ElasticLunr: +

    Search