trwnh.com/unified.test.hugo/layouts/partials/components/article-syndication-list.html

10 lines
371 B
HTML
Raw Normal View History

2024-11-13 17:24:48 +00:00
{{- with .Params.syndication }}
<p class="article-syndication-hint"><span class="article-syndication-hint__text">This entry has been posted elsewhere:</span></p>
<ul class="article-syndication-list">
{{- range . }}
<li class="article-syndication-list-item">
<a{{with .url}} href="{{.}}" class="u-syndication"{{end}}>{{or .name .url}}</a>
</li>
{{- end }}
</ul>
{{- end }}