Let's add support for quoting with a > symbol!
This commit is contained in:
parent
bea24e50b0
commit
5629b62643
@ -51,6 +51,8 @@
|
||||
#posts article div.feedback > *,
|
||||
#posts article div.feedback { margin-left: .5rem; }
|
||||
|
||||
#posts article p.quote { font-style: italic; }
|
||||
|
||||
#pagination a:not(:first-child) { margin-left: .5rem; }
|
||||
|
||||
@media screen and (max-width: 641px) {
|
||||
|
@ -25,6 +25,8 @@ block content
|
||||
input(type='checkbox' id='hide-website' name='hide_website' checked)
|
||||
label(for='hide-website') Hide website*
|
||||
small *Only I can see if set.
|
||||
br
|
||||
small NO links are allowed in a message.
|
||||
input(type='submit' value='Send a post')
|
||||
section#posts
|
||||
if (posts)
|
||||
@ -39,7 +41,10 @@ block content
|
||||
header
|
||||
| Feedback by #[span.highlighted #{owner}] on #[time(datetime=post.feedback_created)= date_(post.feedback_created, tz)]
|
||||
each line in post.feedback.split("\n")
|
||||
p= line
|
||||
if (line[0] == ">")
|
||||
p.quote= line
|
||||
else
|
||||
p= line
|
||||
else
|
||||
if (posts === null)
|
||||
p.center Cannot establish database connection.
|
||||
|
Loading…
Reference in New Issue
Block a user