You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
696 B

extends ../layouts/main
block content
section.uk-section.uk-section-default.uk-section-small
.uk-container
h1 #{site.name} Newsroom
if Array.isArray(newsroom.feeds) && (newsroom.feeds.length > 0)
div(uk-grid).uk-grid-match
each feed in newsroom.feeds
.uk-width-1-3
.uk-tile.uk-tile-secondary.uk-padding-small.uk-border-rounded
.uk-text-bold
a(href=`/newsroom/${feed._id}`)= feed.title
.uk-text-small.uk-text-muted
div last update #{moment(feed.published).fromNow()}
div= feed.description
else
div There are no configured news feeds.