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