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 > *,
|
||||||
#posts article div.feedback { margin-left: .5rem; }
|
#posts article div.feedback { margin-left: .5rem; }
|
||||||
|
|
||||||
|
#posts article p.quote { font-style: italic; }
|
||||||
|
|
||||||
#pagination a:not(:first-child) { margin-left: .5rem; }
|
#pagination a:not(:first-child) { margin-left: .5rem; }
|
||||||
|
|
||||||
@media screen and (max-width: 641px) {
|
@media screen and (max-width: 641px) {
|
||||||
|
@ -25,6 +25,8 @@ block content
|
|||||||
input(type='checkbox' id='hide-website' name='hide_website' checked)
|
input(type='checkbox' id='hide-website' name='hide_website' checked)
|
||||||
label(for='hide-website') Hide website*
|
label(for='hide-website') Hide website*
|
||||||
small *Only I can see if set.
|
small *Only I can see if set.
|
||||||
|
br
|
||||||
|
small NO links are allowed in a message.
|
||||||
input(type='submit' value='Send a post')
|
input(type='submit' value='Send a post')
|
||||||
section#posts
|
section#posts
|
||||||
if (posts)
|
if (posts)
|
||||||
@ -39,6 +41,9 @@ block content
|
|||||||
header
|
header
|
||||||
| Feedback by #[span.highlighted #{owner}] on #[time(datetime=post.feedback_created)= date_(post.feedback_created, tz)]
|
| Feedback by #[span.highlighted #{owner}] on #[time(datetime=post.feedback_created)= date_(post.feedback_created, tz)]
|
||||||
each line in post.feedback.split("\n")
|
each line in post.feedback.split("\n")
|
||||||
|
if (line[0] == ">")
|
||||||
|
p.quote= line
|
||||||
|
else
|
||||||
p= line
|
p= line
|
||||||
else
|
else
|
||||||
if (posts === null)
|
if (posts === null)
|
||||||
|
Loading…
Reference in New Issue
Block a user