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.
31 lines
953 B
31 lines
953 B
include ../announcement/components/announcement
|
|
include ../newsroom/components/feed-entry-list-item
|
|
|
|
mixin renderPageSidebar ( )
|
|
if Array.isArray(announcements) && (announcements.length > 0)
|
|
ul.uk-list.uk-margin
|
|
each announcement in announcements
|
|
li
|
|
+renderAnnouncement(announcement)
|
|
|
|
.uk-margin
|
|
+renderSectionTitle('Newsfeed', {
|
|
label: 'See All',
|
|
title: 'Browse all news feeds',
|
|
url: '/newsroom',
|
|
})
|
|
.sidebar-widget
|
|
if Array.isArray(newsfeed.entries) && (newsfeed.entries.length > 0)
|
|
ul.uk-list
|
|
each entry in newsfeed.entries
|
|
li
|
|
+renderNewsroomFeedEntryListItem(entry)
|
|
|
|
.uk-margin
|
|
+renderSectionTitle('Widget', {
|
|
label: 'Sample URL',
|
|
title: 'Sample URL Title',
|
|
url: 'https://shing.tv',
|
|
})
|
|
.sidebar-widget
|
|
p This would be your widget content if your page even has a sidebar and that sidebar has widgets.
|