Sécuriser et documenter les liens morts
Rend les liens supprimés non cliquables, améliore le rapport des liens morts et accélère la génération du site. Closes #2 Closes #3 Closes #4
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
<div class="figure-media-meta-extra">
|
||||
{{- with $data.attribution -}}
|
||||
{{- $attribution := partial "media/parse-attribution.html" . -}}
|
||||
<p class="figure-attribution cover-attribution"><strong>Attribution :</strong> <span>{{- if index $attribution "isURL" -}}<a href="{{ index $attribution "url" }}" class="link-external" title="Lien externe" rel="noreferrer noopener">{{ index $attribution "label" }}</a>{{- else -}}{{ . | markdownify }}{{- end -}}</span></p>
|
||||
<p class="figure-attribution cover-attribution"><strong>Attribution :</strong> <span>{{- if index $attribution "isURL" -}}{{ partial "render/link.html" (dict "Destination" (index $attribution "url") "Page" $.Page "Text" (index $attribution "label")) }}{{- else -}}{{ . | markdownify }}{{- end -}}</span></p>
|
||||
{{- end -}}
|
||||
{{- with $data.prompt -}}
|
||||
<details>
|
||||
|
||||
Reference in New Issue
Block a user