1

Supprime les reliquats du dossier tools

This commit is contained in:
2026-03-28 17:55:04 +01:00
parent 7452eb0876
commit c00de163a1
6 changed files with 87 additions and 5499 deletions

View File

@@ -1,15 +1,4 @@
{{- $defaultReportPath := "tools/cache/external_links.yaml" -}}
{{- $reportPath := default $defaultReportPath .ReportPath -}}
{{- $report := default (dict) .Report -}}
{{- if or (eq (len $report) 0) (not (isset $report "links")) -}}
{{- if fileExists $reportPath -}}
{{- with readFile $reportPath -}}
{{- $report = . | unmarshal -}}
{{- end -}}
{{- else -}}
{{- warnf "Rapport des liens morts introuvable (%s)" $reportPath -}}
{{- end -}}
{{- end -}}
{{- $report := partial "external-links-report.html" . -}}
{{- $allPages := where site.Pages ".File" "!=" nil -}}
{{- $links := default (slice) $report.links -}}
{{- $linkCount := len $links -}}