Correction des liens morts
This commit is contained in:
@@ -49,10 +49,7 @@
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- $report := dict -}}
|
||||
{{- if fileExists "tools/cache/external_links.yaml" -}}
|
||||
{{- $report = transform.Unmarshal (readFile "tools/cache/external_links.yaml") -}}
|
||||
{{- end -}}
|
||||
{{- $report := partial "external-links-report.html" (dict) -}}
|
||||
{{- $deadList := default (slice) (index $report "links") -}}
|
||||
{{- $entriesMap := default (dict) (index $report "entries") -}}
|
||||
{{- $cacheEntry := index $entriesMap .Destination -}}
|
||||
|
||||
Reference in New Issue
Block a user