1
0

Updated mindflow.pug to recent changes of Post struct.

This commit is contained in:
Alexander Andreev 2023-05-10 03:20:11 +04:00
parent 406dd3b4f0
commit fced4f31ad
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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