Affiche le domaine des attributions URL
This commit is contained in:
@@ -30,8 +30,9 @@
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{- with $attribution -}}
|
||||
{{- $figureAttribution := partial "media/parse-attribution.html" . -}}
|
||||
<div class="figure-media-meta-extra">
|
||||
<p class="figure-attribution cover-attribution"><strong>Attribution :</strong> <span>{{ . | markdownify }}</span></p>
|
||||
<p class="figure-attribution cover-attribution"><strong>Attribution :</strong> <span>{{- if index $figureAttribution "isURL" -}}<a href="{{ index $figureAttribution "url" }}" class="link-external" title="Lien externe" rel="noreferrer noopener">{{ index $figureAttribution "label" }}</a>{{- else -}}{{ . | markdownify }}{{- end -}}</span></p>
|
||||
</div>
|
||||
{{- end -}}
|
||||
</figcaption>
|
||||
|
||||
Reference in New Issue
Block a user