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
|
||||
if (len(posts) > 0)
|
||||
each post in posts
|
||||
article(id=`${strings.ToLower(post.Category)}-${post.Date.UTC().Format("20060102-150405")}`)
|
||||
article(id=`${post.PostID()}`)
|
||||
header
|
||||
a(href=`#${strings.ToLower(post.Category)}-${post.Date.UTC().Format("20060102-150405")}`)
|
||||
h3= post.Category + ": " + post.Title
|
||||
a(href=`#${post.PostID()}`)
|
||||
h3= post.Category.Name + ": " + post.Title
|
||||
each line in strings.Split(post.Body, "\n")
|
||||
p!= line
|
||||
footer
|
||||
|
Loading…
Reference in New Issue
Block a user