+ {{ $url := "https://api.github.com/repos/DefectDojo/django-DefectDojo/releases/latest" }}
+ {{ $resource := resources.GetRemote $url }}
+
+ {{ if $resource }}
+ {{ $release := $resource | transform.Unmarshal | default dict }}
+ {{ if $release.name }}
+ {{ $release.name | htmlEscape }} |
+ {{ else }}
+ {{ printf "⚠️ Could not parse release name (not valid JSON or missing field)\n" | warnf }}
+ {{ printf "Media Type: %s\n" $resource.MediaType | warnf }}
+ {{ $contentPreview := substr $resource.Content 0 500 }}
+ {{ printf "Content Preview (first 500 chars):\n%s\n" $contentPreview | warnf }}
+ {{ end }}
+ {{ else }}
+ {{ printf "❌ Release Notes Fetch failed from: %s\n" $url | warnf }}
+ {{ end }}
+
+
+
+
+
-
+
{{ partial "main/showFlexSearch" . }}
{{ $showFlexSearch := .Scratch.Get "showFlexSearch" -}}
@@ -225,7 +250,8 @@
{{ .Site.Params.T
{{ $isTranslated := in $translatedLangs .Lang -}}
{{ .LanguageName }}
+ }}{{ .Lang | relURL }}{{ end }}" hreflang="{{ .Lang }}" lang="{{ .Lang }}">{{ .LanguageName
+ }}
{{- end }}
{{- end }}
@@ -316,7 +342,8 @@
diff --git a/docs/layouts/_partials/sidebar/section-menu.html b/docs/layouts/_partials/sidebar/section-menu.html
index fa74afdb965..c671a8ca011 100644
--- a/docs/layouts/_partials/sidebar/section-menu.html
+++ b/docs/layouts/_partials/sidebar/section-menu.html
@@ -13,8 +13,8 @@
{{- end }}
-