parent
3badc7a615
commit
28b5256c3a
@ -1,19 +1,16 @@
|
||||
extends ../../layouts/main
|
||||
extends ../../layouts/main-sidebar
|
||||
block content
|
||||
|
||||
include ../../components/pagination-bar
|
||||
include components/list
|
||||
|
||||
section.uk-section.uk-section-default.uk-section-xsmall
|
||||
.uk-container.uk-container-expand
|
||||
div(uk-grid).uk-flex-middle
|
||||
.uk-width-expand
|
||||
h1.uk-margin-remove= `Posts by ${author.username}`
|
||||
if Array.isArray(posts) && (posts.length > 0)
|
||||
ul.uk-list.uk-list-divider
|
||||
each post in posts
|
||||
li
|
||||
+renderPostSummaryFull(post)
|
||||
|
||||
.uk-card-footer
|
||||
+renderPaginationBar(`/post/author/${author.username}`, posts.length )
|
||||
div(uk-grid).uk-flex-expand
|
||||
.uk-width-expand
|
||||
h3.uk-margin-remove= `Posts by ${author.username}`
|
||||
if Array.isArray(posts) && (posts.length > 0)
|
||||
ul.uk-list.uk-list-divider
|
||||
each post in posts
|
||||
li
|
||||
+renderPostSummaryFull(post)
|
||||
.uk-card-footer
|
||||
+renderPaginationBar(`/post/author/${author.username}`, posts.length )
|
Loading…
Reference in new issue