diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e495cc4..5509362 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -30,7 +30,7 @@ }).addTo(map); var latLons = []; - {{ $locations := partialCached "util/get_location_leaf_nodes.html.tmpl" $.Site.Data.locations -}} + {{ $locations := partialCached "util/get_location_leaf_nodes.html" $.Site.Data.locations -}} {{- range . -}} {{- with ( index $locations ( replaceRE `, [A-Z]+` "" . ) ) -}} L.marker([{{ .lat }}, {{ .lon }}]).addTo(map); diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 62016f4..b95a9c4 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -30,7 +30,7 @@ }).addTo(map); var latLons = []; - {{ $locations := partialCached "util/get_location_leaf_nodes.html.tmpl" $.Site.Data.locations -}} + {{ $locations := partialCached "util/get_location_leaf_nodes.html" $.Site.Data.locations -}} {{- range . -}} {{- with ( index $locations ( replaceRE `, [A-Z]+` "" . ) ) -}} L.marker([{{ .lat }}, {{ .lon }}]).addTo(map); diff --git a/layouts/cv/organisations/section.html b/layouts/cv/organisations/section.html index d9f2cb1..6222d9d 100644 --- a/layouts/cv/organisations/section.html +++ b/layouts/cv/organisations/section.html @@ -28,7 +28,7 @@ {{ define "main-body" }} {{ with .GetPage "cv/organisations" }} - {{ partial "cv/organisations/organisations-table.html.tmpl" . }} + {{ partial "cv/organisations/organisations-table.html" . }} {{ end }} {{ end }} diff --git a/layouts/cv/section.html b/layouts/cv/section.html index 7788832..e863e8e 100644 --- a/layouts/cv/section.html +++ b/layouts/cv/section.html @@ -152,7 +152,7 @@ {{ end }} - {{- partialCached "cv/timeline-legend.html.tmpl" . -}} + {{- partialCached "cv/timeline-legend.html" . -}} {{- else -}}