2021-09-09 21:05:38 +02:00
< div class = 'network card' >
< article class = "h-entry network" >
< header >
< h2 class = "p-name" > < a href = "{{ .Permalink }}" class = "u-url" > {{ .Title }}< / a > < / h2 >
< div class = "header-metadata" >
< time class = "dt-published" datetime = "{{ .Date.Format `Jan 02 2006` }}" > {{ .Date.Format "Jan 02, 2006" }}< / time >
2021-09-25 00:13:38 +02:00
< div class = "filler" > < / div >
2021-09-09 21:05:38 +02:00
< / div >
< / header >
2021-09-25 00:13:38 +02:00
< div class = "network-source" > < span class = "from p-author" > From {{ if .Params.author }}< b > {{.Params.author}}< / b > at {{ end }}< a href = "{{ " / categories / " | relLangURL } } { { . Params . feed_name | urlize } } " > {{ .Params.feed_name }}< / a > < / span > < / div >
2021-09-24 17:00:44 +02:00
2021-09-09 21:05:38 +02:00
< div class = "p-summary {{if .Truncated}} truncated {{end}} img" >
{{ with (index (.Resources.ByType "image") 0) }}
2021-09-24 17:00:44 +02:00
{{ $thumb := .Fit "540x360"}}
2021-09-09 21:05:38 +02:00
< div class = "summary-image" >
< img src = "{{ $thumb.Permalink }}" alt = "{{ .Title }}" >
< / div >
{{ end }}
2021-09-24 17:00:44 +02:00
< div class = "summary-text" >
{{ .Summary }}
< / div >
2021-09-09 21:05:38 +02:00
< / div >
{{ if .Truncated }}
< footer class = 'post-footer' >
< div class = 'read-more' > < a href = "{{ .RelPermalink }}" > Read More…< / a > < / div >
< div class = 'footer-filler' > < / div >
< / footer >
{{ end }}
< / article >
< / div >