minor template changes

merge-requests/208/head
fatchan 5 years ago
parent 71410ca48d
commit e91f887957
  1. 2
      views/custompages/faq.pug
  2. 11
      views/mixins/post.pug

@ -128,7 +128,7 @@ block content
div `inline monospace` →
span.mono inline monospace
b Hyperlinks
div https://example.com → #[a(href='https://example.com') https://example.com]
div https://example.com → #[a(href='#!') https://example.com]
b Quotes
div >>123 → #[a(class="quote" href="#!") >>123]
b Cross Board Quotes

@ -32,11 +32,12 @@ mixin post(post, truncate, manage=false, globalmanage=false, ban=false)
if post.userId
span.user-id(style=`background: #${post.userId}`) #{post.userId}
|
span: a.no-decoration(href=`${postURL}#${post.postId}`) No.
span: a.no-decoration(href=`${postURL}#postform`) #{post.postId}
if !post.thread
|
span: a(href=`/${post.board}/thread/${post.thread || post.postId}.html#postform`) [Reply]
span.post-links
a.no-decoration(href=`${postURL}#${post.postId}`) No.
a.no-decoration(href=`${postURL}#postform`) #{post.postId}
if !post.thread
|
span: a(href=`/${post.board}/thread/${post.thread || post.postId}.html#postform`) [Reply]
.post-data
if post.files.length > 0
.post-files

Loading…
Cancel
Save