From 6e99f42af823c480e23b2b36e026ee80ecaa3186 Mon Sep 17 00:00:00 2001 From: jirikrepl Date: Tue, 7 Jan 2020 11:03:36 +0100 Subject: [PATCH] feat: added "algolia search" css class to layout templates hugo uses single and list templates: https://gohugo.io/templates/lists/ https://gohugo.io/templates/single-page-templates/ we use single templates for "leaf" pages at the bottom of and list templates for all other pages --- layouts/_default/list.html | 2 +- layouts/_default/single.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 5e70b50..40e3735 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,5 @@ {{ define "main" }} - + {{ if not .Params.disable_breadcrumbs }} {{ partial "breadcrumb_recursive.html" (dict "menu" .Site.Menus.main "page" . ) }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4748ea2..47f4a9f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ define "main" }} - + {{ if not .Params.disable_breadcrumbs }} {{ partial "breadcrumb_recursive.html" (dict "menu" .Site.Menus.main "page" . ) }}