1

Correction des liens morts

This commit is contained in:
2026-03-28 16:09:04 +01:00
parent 44dc63bebf
commit 7452eb0876
17 changed files with 372 additions and 360 deletions

View File

@@ -1,11 +1,11 @@
{{- $url := "" -}}
{{- $report := dict -}}
{{- $report := partial "external-links-report.html" (dict) -}}
{{- if reflect.IsMap . -}}
{{- with index . "URL" -}}
{{- $url = . -}}
{{- end -}}
{{- with index . "Report" -}}
{{- $report = . -}}
{{- $report = partial "external-links-report.html" (dict "Report" .) -}}
{{- end -}}
{{- end -}}
@@ -89,6 +89,12 @@
{{- end -}}
{{- end -}}
{{- if and (eq $statusChecked "") (gt (len $deadInfo) 0) -}}
{{- with index $deadInfo "checkedAt" -}}
{{- $statusChecked = . -}}
{{- end -}}
{{- end -}}
{{- if gt $statusCode 0 -}}
{{- if lt $statusCode 400 -}}
{{- $statusTone = "ok" -}}