diff --git a/layouts/locations/list.html b/layouts/locations/list.html index 7ca761d6e00d388a2a5049d7566af70aa92414e8..0ea776a646b431000e664d03cccbe328db7aec74 100644 --- a/layouts/locations/list.html +++ b/layouts/locations/list.html @@ -2,7 +2,6 @@ {{ partial "locations/hero-list.html" . }} <div class="document-content"> - {{ partial "commons/list-content.html" . }} {{ partial "locations/summary.html" (dict "with_container" true "context" . diff --git a/layouts/partials/locations/hero-list.html b/layouts/partials/locations/hero-list.html index b356483e36715e2266e9d0c729a4edf9f9d68bb8..14226f2b67b7d592e26ea957f9e743476c6aea6b 100644 --- a/layouts/partials/locations/hero-list.html +++ b/layouts/partials/locations/hero-list.html @@ -3,6 +3,6 @@ (dict "title" $title "image" .Params.image - "sizes" site.Params.image_sizes.sections.events.hero + "sizes" site.Params.image_sizes.sections.locations.hero "context" . ) -}} diff --git a/layouts/partials/locations/hero-single.html b/layouts/partials/locations/hero-single.html index d13a6df8e12dab19693241749dfc9fe457affead..45f9ecc0b7cfbbaec5bb1941b497273f1afcb536 100644 --- a/layouts/partials/locations/hero-single.html +++ b/layouts/partials/locations/hero-single.html @@ -1,13 +1,8 @@ {{- $title := or .Params.header_text .Title -}} - -{{ with .Params.subtitle }} - {{- $title = printf "%s <span>%s</span>" $title . -}} -{{ end }} - {{- partial "header/hero.html" - (dict - "title" $title - "image" .Params.image - "sizes" site.Params.image_sizes.sections.events.hero_single - "context" . - ) -}} + (dict + "title" $title + "image" .Params.image + "sizes" site.Params.image_sizes.sections.locations.hero_single + "context" . + ) -}} diff --git a/layouts/partials/locations/sidebar.html b/layouts/partials/locations/sidebar.html deleted file mode 100644 index e491bc701e84e96c7b261eafc950394b3eefb010..0000000000000000000000000000000000000000 --- a/layouts/partials/locations/sidebar.html +++ /dev/null @@ -1,14 +0,0 @@ -<div class="section-sidebar event-sidebar"> - <div> - <aside> - {{- partial "events/event-infos.html" . -}} - </aside> - - {{ partial "toc/container.html" - (dict - "toc" "toc/default.html" - "context" . - ) - }} - </div> -</div> diff --git a/layouts/partials/locations/summary copy.html b/layouts/partials/locations/summary copy.html deleted file mode 100644 index 85e4edf81a14c7fedc7c790f755b91710a4d9224..0000000000000000000000000000000000000000 --- a/layouts/partials/locations/summary copy.html +++ /dev/null @@ -1 +0,0 @@ -{{- partial "commons/summary-in-content.html" . -}}