data. Made a lot of progress on #1 with additional work on the rendering templates.
19 lines
373 B
Text
19 lines
373 B
Text
extends render-layout
|
|
|
|
block content
|
|
h1 #{pageTitle}
|
|
|
|
each post in posts
|
|
include ./partial-post.jade
|
|
|
|
div
|
|
if prev == 0
|
|
a(href="/blog/") Newer
|
|
if prev > 0
|
|
a(href="/blog/#{prev}/") Newer
|
|
|
|
if prev >= 0 && next > 0
|
|
| —
|
|
|
|
if next > 0
|
|
a(href="/blog/#{next}/") Older
|