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.

27 lines
982 B

extends ../../layouts/main
block content
include ../components/draft-list
include ../components/list
include ../../post/components/summary
include ../../components/pagination-bar
section.uk-section.uk-section-default.uk-section-xsmall
.uk-container.uk-container-expand
div(uk-grid).uk-flex-middle
.uk-width-expand
h2.uk-margin-remove Published Posts
if user.permissions.canAuthorPosts
.uk-width-auto
a(href= "/post/compose").uk-button.uk-button-primary.uk-border-rounded
span
i.fas.fa-plus
span.uk-margin-small-left.uk-text-bold Create Post
.uk-width-medium
a(href= "/author").uk-button.uk-button-primary.uk-border-rounded
span.uk-margin-small-left.uk-text-bold Author Dashboard
div(uk-grid)
div(class="uk-width-1-1 uk-width-3-3@m")
+renderSectionTitle('Posts')
+renderPublishedPostList(published.posts)