From 37da8acf5a93fddd615a2d929870101bf8edc060 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sun, 5 Jan 2025 17:25:32 +0100 Subject: [PATCH] rename `.html.tmpl` files to `.html` --- layouts/_default/single.html | 2 +- layouts/blog/single.html | 2 +- layouts/cv/organisations/section.html | 2 +- layouts/cv/section.html | 8 ++++---- layouts/locations/list.html | 4 ++-- layouts/partials/{cite.html.tmpl => cite.html} | 0 .../{description.html.tmpl => description.html} | 0 .../{get-num-of-items.html.tmpl => get-num-of-items.html} | 0 ...vel_ancestor.html.tmpl => get_top_level_ancestor.html} | 0 ...-items-list.html.tmpl => organisation-items-list.html} | 0 ...tems-tiles.html.tmpl => organisation-items-tiles.html} | 0 ...items-section.html.tmpl => related-items-section.html} | 4 ++-- .../{related-items.html.tmpl => related-items.html} | 6 +++--- .../{roles-timeline.html.tmpl => roles-timeline.html} | 0 ...nisations-table.html.tmpl => organisations-table.html} | 2 +- .../{timeline-legend.html.tmpl => timeline-legend.html} | 0 layouts/partials/media/{audio.html.tmpl => audio.html} | 0 .../partials/media/{picture.html.tmpl => picture.html} | 0 layouts/partials/media/{video.html.tmpl => video.html} | 0 ..._leaf_nodes.html.tmpl => get_location_leaf_nodes.html} | 2 +- ...lid_rel_values.html.tmpl => get_valid_rel_values.html} | 0 ...ecursive_list.html.tmpl => render_recursive_list.html} | 2 +- layouts/shortcodes/blockquote.html | 6 +++--- layouts/shortcodes/cite.html | 2 +- layouts/shortcodes/figure.html | 8 ++++---- layouts/shortcodes/picture.html | 4 ++-- layouts/shortcodes/video.html | 4 ++-- 27 files changed, 29 insertions(+), 29 deletions(-) rename layouts/partials/{cite.html.tmpl => cite.html} (100%) rename layouts/partials/cv/organisation/{description.html.tmpl => description.html} (100%) rename layouts/partials/cv/organisation/{get-num-of-items.html.tmpl => get-num-of-items.html} (100%) rename layouts/partials/cv/organisation/{get_top_level_ancestor.html.tmpl => get_top_level_ancestor.html} (100%) rename layouts/partials/cv/organisation/{organisation-items-list.html.tmpl => organisation-items-list.html} (100%) rename layouts/partials/cv/organisation/{organisation-items-tiles.html.tmpl => organisation-items-tiles.html} (100%) rename layouts/partials/cv/organisation/{related-items-section.html.tmpl => related-items-section.html} (89%) rename layouts/partials/cv/organisation/{related-items.html.tmpl => related-items.html} (55%) rename layouts/partials/cv/organisation/{roles-timeline.html.tmpl => roles-timeline.html} (100%) rename layouts/partials/cv/organisations/{organisations-table.html.tmpl => organisations-table.html} (95%) rename layouts/partials/cv/{timeline-legend.html.tmpl => timeline-legend.html} (100%) rename layouts/partials/media/{audio.html.tmpl => audio.html} (100%) rename layouts/partials/media/{picture.html.tmpl => picture.html} (100%) rename layouts/partials/media/{video.html.tmpl => video.html} (100%) rename layouts/partials/util/{get_location_leaf_nodes.html.tmpl => get_location_leaf_nodes.html} (91%) rename layouts/partials/util/{get_valid_rel_values.html.tmpl => get_valid_rel_values.html} (100%) rename layouts/partials/util/{render_recursive_list.html.tmpl => render_recursive_list.html} (90%) 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 -}}