From c5e22cca5e88918b8bcbb01a246fc43c3657b8b9 Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Tue, 12 Jan 2021 19:06:50 +0100 Subject: [PATCH 1/2] feat: remove breadcrumb in covidcast --- themes/delphi/layouts/_default/baseof.html | 2 +- themes/delphi/layouts/_default/covidcast_app.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/delphi/layouts/_default/baseof.html b/themes/delphi/layouts/_default/baseof.html index f70a407fa..f2389b0a8 100644 --- a/themes/delphi/layouts/_default/baseof.html +++ b/themes/delphi/layouts/_default/baseof.html @@ -8,7 +8,7 @@ {{ partial "nav.html" . }} - {{ partial "menu/breadcrumb.html" . }} + {{ block "breadcrumb" . }}{{ partial "menu/breadcrumb.html" . }}{{ end }} {{ block "main" . }} {{ end }} {{ partial "footer.html" . }} {{ partial "scripts.html" . }} diff --git a/themes/delphi/layouts/_default/covidcast_app.html b/themes/delphi/layouts/_default/covidcast_app.html index ca4038f1c..08766dcee 100644 --- a/themes/delphi/layouts/_default/covidcast_app.html +++ b/themes/delphi/layouts/_default/covidcast_app.html @@ -5,6 +5,7 @@ {{ end }} +{{ define "breadcrumb" }}{{ end }} {{ define "body_class" }}covidcast_wrapper{{ end }} {{ define "main" }} {{ partial "covidcast/modes.html" . }} From 7994341ceb7b9718fb48698b915f8131cd17d23e Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Tue, 12 Jan 2021 19:13:28 +0100 Subject: [PATCH 2/2] fix: no breadcrumb for covidcast --- themes/delphi/layouts/_default/covidcast_app.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/delphi/layouts/_default/covidcast_app.html b/themes/delphi/layouts/_default/covidcast_app.html index 08766dcee..1f11dcda3 100644 --- a/themes/delphi/layouts/_default/covidcast_app.html +++ b/themes/delphi/layouts/_default/covidcast_app.html @@ -5,7 +5,7 @@ {{ end }} -{{ define "breadcrumb" }}{{ end }} +{{ define "breadcrumb" }}{{ end }} {{ define "body_class" }}covidcast_wrapper{{ end }} {{ define "main" }} {{ partial "covidcast/modes.html" . }}