Affiche le domaine des attributions URL
This commit is contained in:
@@ -199,7 +199,8 @@
|
||||
<p class="cover-description">{{ . | markdownify }}</p>
|
||||
{{- end -}}
|
||||
{{- with $coverAttribution -}}
|
||||
<p class="cover-attribution"><strong>Attribution:</strong> <span>{{ . | markdownify }}</span></p>
|
||||
{{- $attribution := partial "media/parse-attribution.html" . -}}
|
||||
<p class="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>
|
||||
{{- end -}}
|
||||
{{- with $coverPrompt -}}
|
||||
<details>
|
||||
|
||||
Reference in New Issue
Block a user