Updated mindflow.pug to recent changes of Post struct.
This commit is contained in:
parent
406dd3b4f0
commit
fced4f31ad
@ -26,10 +26,10 @@ block content
|
|||||||
section
|
section
|
||||||
if (len(posts) > 0)
|
if (len(posts) > 0)
|
||||||
each post in posts
|
each post in posts
|
||||||
article(id=`${strings.ToLower(post.Category)}-${post.Date.UTC().Format("20060102-150405")}`)
|
article(id=`${post.PostID()}`)
|
||||||
header
|
header
|
||||||
a(href=`#${strings.ToLower(post.Category)}-${post.Date.UTC().Format("20060102-150405")}`)
|
a(href=`#${post.PostID()}`)
|
||||||
h3= post.Category + ": " + post.Title
|
h3= post.Category.Name + ": " + post.Title
|
||||||
each line in strings.Split(post.Body, "\n")
|
each line in strings.Split(post.Body, "\n")
|
||||||
p!= line
|
p!= line
|
||||||
footer
|
footer
|
||||||
|
Loading…
Reference in New Issue
Block a user