1
0

Added qouting formatting in Mindflow.

This commit is contained in:
Alexander Andreev 2023-09-25 03:21:49 +04:00
parent 134ed23450
commit 5bc4f13c38
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -35,7 +35,10 @@ block content
p Link:
a(href=post.PostURL(r.Host, false)) #{post.PostURL(r.Host, false)}
each line in strings.Split(post.Body, "\n")
p!= line
if (line[0] == '>')
p.quote!= line
else
p!= line
footer
time(datetime=util.ToClientTimezone(post.Date, r))= util.ToClientTimezone(post.Date, r).Format(time.RFC1123)
else