67dcb2f77c
brought over all the files from the Jekyll version, fixed categories, reformatted for different markdown processor
66 lines
1.6 KiB
Plaintext
66 lines
1.6 KiB
Plaintext
extends base
|
|
|
|
block title
|
|
if page.category
|
|
= page.category
|
|
!= ' « '
|
|
= config.title
|
|
else
|
|
if page.tag
|
|
!= '“'
|
|
= page.tag
|
|
!= '” Tag « '
|
|
= config.title
|
|
else
|
|
if config.subtitle
|
|
= config.title + ' | ' + config.subtitle
|
|
else
|
|
= config.title
|
|
|
|
block content
|
|
if page.tag || page.category
|
|
h1
|
|
if page.category
|
|
| Posts categorized “
|
|
= page.category
|
|
| ”
|
|
else
|
|
| Posts tagged “
|
|
= page.tag
|
|
| ”
|
|
hr
|
|
for post in page.posts.toArray()
|
|
article.post
|
|
header.entry-header
|
|
hgroup: h2.entry-title: a(href=url_for(post.path) title='Permalink to ' + post.title)!= post.title
|
|
.entry-meta
|
|
|
|
|
span.author.vcard
|
|
| By
|
|
= post.author
|
|
span.bl_sep |
|
|
span.ondate
|
|
span.entry-date.
|
|
#[= post.date.format('MMMM D, YYYY')] at #[= post.date.format('h:mm a')]
|
|
#[span.bl_sep |]
|
|
span.bl_categ
|
|
= ' '
|
|
include _partial/post-categories.pug
|
|
.entry-content!= post.content
|
|
footer.entry-meta2
|
|
span.bl_tagg
|
|
include _partial/post-tags.pug
|
|
br
|
|
|
|
#nav-below.navigation
|
|
.nav-previous
|
|
if page.prev
|
|
a(href=url_for(page.prev_link))
|
|
span.meta-nav «
|
|
| Newer Posts
|
|
.nav-next
|
|
if page.next
|
|
a(href=url_for(page.next_link))
|
|
| Older Posts
|
|
span.meta-nav »
|