Correction des liens morts
This commit is contained in:
@@ -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" -}}
|
||||
|
||||
Reference in New Issue
Block a user