Merge pull request #46710 from babugeet/patch-1

change in the site front page to link the birthday blog
pull/46729/head
Kubernetes Prow Robot 2024-06-07 00:24:04 -07:00 committed by GitHub
commit faad7a416a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -15,7 +15,9 @@
<div class="k8s-birthday-wrapper">
<p>{{ "2014-06-06" | time.AsTime | time.Format ":date_long" }}</p>
{{- with site.GetPage "page" "community/special/kubernetes-10th-birthday" -}}
<a href="https://kubernetes.io/blog/2024/06/06/10-years-of-kubernetes/">
<img src="{{ with resources.Get "images/k8s-10th-birthday.svg" }}{{ .RelPermalink }}{{ end }}" class="birthday-banner" title="{{ .Title | markdownify }}" alt="{{ .Content }}" ></img>
</a>
{{- else -}}
{{- errorf "%s" "10th Birthday content missing" -}}
{{- end -}}