This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch fix/1631-shared-featured-image in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit fde82952e76eebc54a7338fb400616ae7804f6d9 Author: Claus Ibsen <[email protected]> AuthorDate: Thu Jun 11 10:14:11 2026 +0200 Use shared default featured image instead of 48 duplicate copies (#1631) --- assets/img/default-featured.png | Bin 0 -> 752488 bytes content/blog/2020/04/Camel32-Whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2020/05/Camel33-Whatsnew/featured.png | Bin 3975989 -> 0 bytes .../Camel-kafka-connector-050-Whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2020/09/Camel35-Whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2020/10/Camel36-Whatsnew/featured.png | Bin 3975989 -> 0 bytes .../2020/10/camel-aws2-eventbridge-intro/featured.png | Bin 3975989 -> 0 bytes content/blog/2020/12/CKC-idempotency-070/featured.png | Bin 3975989 -> 0 bytes .../Camel-kafka-connector-070-Whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2020/12/Camel37-Whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2020/12/RELEASE-3.7.0/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/01/RELEASE-3.7.1/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/02/Camel38-Whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/02/RELEASE-3.7.2/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/03/Camel39-Whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/03/RELEASE-3.7.3/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/05/Camel310-Whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/05/RELEASE-3.7.4/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/06/Camel311-Whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/07/RELEASE-3.7.5/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/10/RELEASE-3.7.6/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/11/RELEASE-3.13.0/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/12/RELEASE-3.7.7/featured.png | Bin 3975989 -> 0 bytes content/blog/2021/12/camel314-whatsnew/featured.png | Bin 3975989 -> 0 bytes .../2022/01/dynamic-router-eip-component/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/02/RELEASE-3.15.0/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/02/camel315-whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/03/RELEASE-3.16.0/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/03/camel316-whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/05/RELEASE-3.17.0/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/05/camel317-whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/07/RELEASE-3.18.0/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/08/RELEASE-3.18.1/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/09/RELEASE-3.18.2/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/10/RELEASE-3.18.3/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/10/RELEASE-3.19.0/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/10/camel319-whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2022/12/RELEASE-3.18.4/featured.png | Bin 3975989 -> 0 bytes .../featured.png | Bin 3975989 -> 0 bytes content/blog/2022/12/camel320-whatsnew/featured.png | Bin 3975989 -> 0 bytes content/blog/2023/01/RELEASE-3.18.5/featured.png | Bin 3975989 -> 0 bytes content/blog/2023/04/RELEASE-3.18.6/featured.png | Bin 3975989 -> 0 bytes content/blog/2023/05/RELEASE-3.18.7/featured.png | Bin 3975989 -> 0 bytes content/blog/2023/06/RELEASE-3.18.8/featured.png | Bin 3975989 -> 0 bytes content/blog/2023/12/RELEASE-3.22.0/featured.png | Bin 3975989 -> 0 bytes content/blog/2024/01/RELEASE-3.22.1/featured.png | Bin 3975989 -> 0 bytes content/blog/2024/05/RELEASE-3.22.2/featured.png | Bin 3975989 -> 0 bytes content/blog/2024/12/RELEASE-3.22.3/featured.png | Bin 3975989 -> 0 bytes content/blog/2025/03/RELEASE-3.22.4/featured.png | Bin 3975989 -> 0 bytes layouts/blog/post.html | 3 +++ layouts/partials/header.html | 3 +++ 51 files changed, 6 insertions(+) diff --git a/assets/img/default-featured.png b/assets/img/default-featured.png new file mode 100644 index 00000000..8d9a215c Binary files /dev/null and b/assets/img/default-featured.png differ diff --git a/content/blog/2020/04/Camel32-Whatsnew/featured.png b/content/blog/2020/04/Camel32-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/04/Camel32-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2020/05/Camel33-Whatsnew/featured.png b/content/blog/2020/05/Camel33-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/05/Camel33-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2020/09/Camel-kafka-connector-050-Whatsnew/featured.png b/content/blog/2020/09/Camel-kafka-connector-050-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/09/Camel-kafka-connector-050-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2020/09/Camel35-Whatsnew/featured.png b/content/blog/2020/09/Camel35-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/09/Camel35-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2020/10/Camel36-Whatsnew/featured.png b/content/blog/2020/10/Camel36-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/10/Camel36-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2020/10/camel-aws2-eventbridge-intro/featured.png b/content/blog/2020/10/camel-aws2-eventbridge-intro/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/10/camel-aws2-eventbridge-intro/featured.png and /dev/null differ diff --git a/content/blog/2020/12/CKC-idempotency-070/featured.png b/content/blog/2020/12/CKC-idempotency-070/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/12/CKC-idempotency-070/featured.png and /dev/null differ diff --git a/content/blog/2020/12/Camel-kafka-connector-070-Whatsnew/featured.png b/content/blog/2020/12/Camel-kafka-connector-070-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/12/Camel-kafka-connector-070-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2020/12/Camel37-Whatsnew/featured.png b/content/blog/2020/12/Camel37-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/12/Camel37-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2020/12/RELEASE-3.7.0/featured.png b/content/blog/2020/12/RELEASE-3.7.0/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2020/12/RELEASE-3.7.0/featured.png and /dev/null differ diff --git a/content/blog/2021/01/RELEASE-3.7.1/featured.png b/content/blog/2021/01/RELEASE-3.7.1/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/01/RELEASE-3.7.1/featured.png and /dev/null differ diff --git a/content/blog/2021/02/Camel38-Whatsnew/featured.png b/content/blog/2021/02/Camel38-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/02/Camel38-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2021/02/RELEASE-3.7.2/featured.png b/content/blog/2021/02/RELEASE-3.7.2/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/02/RELEASE-3.7.2/featured.png and /dev/null differ diff --git a/content/blog/2021/03/Camel39-Whatsnew/featured.png b/content/blog/2021/03/Camel39-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/03/Camel39-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2021/03/RELEASE-3.7.3/featured.png b/content/blog/2021/03/RELEASE-3.7.3/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/03/RELEASE-3.7.3/featured.png and /dev/null differ diff --git a/content/blog/2021/05/Camel310-Whatsnew/featured.png b/content/blog/2021/05/Camel310-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/05/Camel310-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2021/05/RELEASE-3.7.4/featured.png b/content/blog/2021/05/RELEASE-3.7.4/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/05/RELEASE-3.7.4/featured.png and /dev/null differ diff --git a/content/blog/2021/06/Camel311-Whatsnew/featured.png b/content/blog/2021/06/Camel311-Whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/06/Camel311-Whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2021/07/RELEASE-3.7.5/featured.png b/content/blog/2021/07/RELEASE-3.7.5/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/07/RELEASE-3.7.5/featured.png and /dev/null differ diff --git a/content/blog/2021/10/RELEASE-3.7.6/featured.png b/content/blog/2021/10/RELEASE-3.7.6/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/10/RELEASE-3.7.6/featured.png and /dev/null differ diff --git a/content/blog/2021/11/RELEASE-3.13.0/featured.png b/content/blog/2021/11/RELEASE-3.13.0/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/11/RELEASE-3.13.0/featured.png and /dev/null differ diff --git a/content/blog/2021/12/RELEASE-3.7.7/featured.png b/content/blog/2021/12/RELEASE-3.7.7/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/12/RELEASE-3.7.7/featured.png and /dev/null differ diff --git a/content/blog/2021/12/camel314-whatsnew/featured.png b/content/blog/2021/12/camel314-whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2021/12/camel314-whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2022/01/dynamic-router-eip-component/featured.png b/content/blog/2022/01/dynamic-router-eip-component/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/01/dynamic-router-eip-component/featured.png and /dev/null differ diff --git a/content/blog/2022/02/RELEASE-3.15.0/featured.png b/content/blog/2022/02/RELEASE-3.15.0/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/02/RELEASE-3.15.0/featured.png and /dev/null differ diff --git a/content/blog/2022/02/camel315-whatsnew/featured.png b/content/blog/2022/02/camel315-whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/02/camel315-whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2022/03/RELEASE-3.16.0/featured.png b/content/blog/2022/03/RELEASE-3.16.0/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/03/RELEASE-3.16.0/featured.png and /dev/null differ diff --git a/content/blog/2022/03/camel316-whatsnew/featured.png b/content/blog/2022/03/camel316-whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/03/camel316-whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2022/05/RELEASE-3.17.0/featured.png b/content/blog/2022/05/RELEASE-3.17.0/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/05/RELEASE-3.17.0/featured.png and /dev/null differ diff --git a/content/blog/2022/05/camel317-whatsnew/featured.png b/content/blog/2022/05/camel317-whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/05/camel317-whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2022/07/RELEASE-3.18.0/featured.png b/content/blog/2022/07/RELEASE-3.18.0/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/07/RELEASE-3.18.0/featured.png and /dev/null differ diff --git a/content/blog/2022/08/RELEASE-3.18.1/featured.png b/content/blog/2022/08/RELEASE-3.18.1/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/08/RELEASE-3.18.1/featured.png and /dev/null differ diff --git a/content/blog/2022/09/RELEASE-3.18.2/featured.png b/content/blog/2022/09/RELEASE-3.18.2/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/09/RELEASE-3.18.2/featured.png and /dev/null differ diff --git a/content/blog/2022/10/RELEASE-3.18.3/featured.png b/content/blog/2022/10/RELEASE-3.18.3/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/10/RELEASE-3.18.3/featured.png and /dev/null differ diff --git a/content/blog/2022/10/RELEASE-3.19.0/featured.png b/content/blog/2022/10/RELEASE-3.19.0/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/10/RELEASE-3.19.0/featured.png and /dev/null differ diff --git a/content/blog/2022/10/camel319-whatsnew/featured.png b/content/blog/2022/10/camel319-whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/10/camel319-whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2022/12/RELEASE-3.18.4/featured.png b/content/blog/2022/12/RELEASE-3.18.4/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/12/RELEASE-3.18.4/featured.png and /dev/null differ diff --git a/content/blog/2022/12/camel-context-reloading-secret-refresh/featured.png b/content/blog/2022/12/camel-context-reloading-secret-refresh/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/12/camel-context-reloading-secret-refresh/featured.png and /dev/null differ diff --git a/content/blog/2022/12/camel320-whatsnew/featured.png b/content/blog/2022/12/camel320-whatsnew/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2022/12/camel320-whatsnew/featured.png and /dev/null differ diff --git a/content/blog/2023/01/RELEASE-3.18.5/featured.png b/content/blog/2023/01/RELEASE-3.18.5/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2023/01/RELEASE-3.18.5/featured.png and /dev/null differ diff --git a/content/blog/2023/04/RELEASE-3.18.6/featured.png b/content/blog/2023/04/RELEASE-3.18.6/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2023/04/RELEASE-3.18.6/featured.png and /dev/null differ diff --git a/content/blog/2023/05/RELEASE-3.18.7/featured.png b/content/blog/2023/05/RELEASE-3.18.7/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2023/05/RELEASE-3.18.7/featured.png and /dev/null differ diff --git a/content/blog/2023/06/RELEASE-3.18.8/featured.png b/content/blog/2023/06/RELEASE-3.18.8/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2023/06/RELEASE-3.18.8/featured.png and /dev/null differ diff --git a/content/blog/2023/12/RELEASE-3.22.0/featured.png b/content/blog/2023/12/RELEASE-3.22.0/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2023/12/RELEASE-3.22.0/featured.png and /dev/null differ diff --git a/content/blog/2024/01/RELEASE-3.22.1/featured.png b/content/blog/2024/01/RELEASE-3.22.1/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2024/01/RELEASE-3.22.1/featured.png and /dev/null differ diff --git a/content/blog/2024/05/RELEASE-3.22.2/featured.png b/content/blog/2024/05/RELEASE-3.22.2/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2024/05/RELEASE-3.22.2/featured.png and /dev/null differ diff --git a/content/blog/2024/12/RELEASE-3.22.3/featured.png b/content/blog/2024/12/RELEASE-3.22.3/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2024/12/RELEASE-3.22.3/featured.png and /dev/null differ diff --git a/content/blog/2025/03/RELEASE-3.22.4/featured.png b/content/blog/2025/03/RELEASE-3.22.4/featured.png deleted file mode 100644 index e5077f55..00000000 Binary files a/content/blog/2025/03/RELEASE-3.22.4/featured.png and /dev/null differ diff --git a/layouts/blog/post.html b/layouts/blog/post.html index 78f0cadb..de3ceedc 100644 --- a/layouts/blog/post.html +++ b/layouts/blog/post.html @@ -66,6 +66,9 @@ </aside> <div class="post-content"> {{ $featured := (.Resources.ByType "image").GetMatch "*featured*" }} + {{ if not $featured }} + {{ $featured = resources.Get "img/default-featured.png" }} + {{ end }} {{ with $featured }} {{ if ne $featured.MediaType.SubType "svg" }} {{ $featured := .Resize "800x q95 Gaussian" }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 158d57c0..0e2d0e1e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -30,6 +30,9 @@ {{ end }} <meta property="og:type" content="website"> {{ $featured := (.Resources.ByType "image").GetMatch "*featured*" }} + {{ if not $featured }} + {{ $featured = resources.Get "img/default-featured.png" }} + {{ end }} {{ with $featured }} <meta property="og:image" content="{{ $featured.Permalink }}"> {{ else }}
