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.
41 lines
1.5 KiB
41 lines
1.5 KiB
mixin renderSidebarEpisode(episode)
|
|
.uk-card.uk-card-secondary.uk-card-small.uk-card-hover
|
|
|
|
.uk-card-media-top
|
|
a(href= episode.url, target="_blank", title="Watch on Gab TV")
|
|
img(src=episode.image).responsive
|
|
|
|
.uk-card-body
|
|
.uk-card-title.uk-margin-remove.uk-text-truncate
|
|
a(href= episode.url, target="_blank", title= `Watch "${episode.title}" on Gab TV`)= episode.title
|
|
.uk-text-small Posted: #{moment(episode.date_modified).format("MMM DD YYYY HH:MM a")}
|
|
|
|
mixin renderPageSidebar ( )
|
|
//- Gab TV 3 Most Recent Episodes
|
|
.uk-margin
|
|
.dtp-border-bottom
|
|
h3.uk-heading-bullet
|
|
a(href= gabTvChannel.home_page_url, target= "_blank", title= `${gabTvChannel.title} on Gab`).uk-link-reset Gab TV
|
|
ul.uk-list
|
|
each episode in gabTvChannel.items.slice(0, 3)
|
|
li
|
|
+renderSidebarEpisode(episode)
|
|
|
|
//- Newsletter Signup
|
|
//- TODO Add sticky
|
|
.uk-margin
|
|
.dtp-border-bottom.uk-margin
|
|
h3.uk-heading-bullet Mailing List
|
|
|
|
form(method="post", action="/newsletter", onsubmit="return dtp.app.submitForm(event, 'Subscribe to newsletter');").uk-form
|
|
.uk-card.uk-card-secondary.uk-card-small
|
|
|
|
.uk-card-body
|
|
p Join the #{site.name} FREE newsletter to get show updates in your inbox.
|
|
|
|
.uk-margin
|
|
label(for="email").uk-form-label.sr-only Email Address
|
|
input(id="email", name="email", type="email", placeholder="[email protected]").uk-input
|
|
|
|
.uk-card-footer
|
|
button(type="submit").uk-button.uk-button-primary Sign Up
|