Truncate RSS channel name

This commit is contained in:
Svilen Markov 2024-05-19 17:52:17 +01:00
parent 9e9f001fdf
commit c941c78ebf

View File

@ -5,11 +5,11 @@
{{ range .Items }} {{ range .Items }}
<li> <li>
<a class="size-title-dynamic color-primary-if-not-visited" href="{{ .Link }}" target="_blank" rel="noreferrer">{{ .Title }}</a> <a class="size-title-dynamic color-primary-if-not-visited" href="{{ .Link }}" target="_blank" rel="noreferrer">{{ .Title }}</a>
<ul class="list-horizontal-text"> <ul class="list-horizontal-text flex-nowrap">
<li {{ dynamicRelativeTimeAttrs .PublishedAt }}></li> <li {{ dynamicRelativeTimeAttrs .PublishedAt }}></li>
{{ if gt (len $.FeedRequests) 1 }} <li class="min-width-0">
<li><a href="{{ .ChannelURL }}" target="_blank" rel="noreferrer">{{ .ChannelName }}</a></li> <a class="block text-truncate" href="{{ .ChannelURL }}" target="_blank" rel="noreferrer">{{ .ChannelName }}</a>
{{ end }} </li>
</ul> </ul>
</li> </li>
{{ end }} {{ end }}