1
0
mirror of https://github.com/andrigamerita/simpkey synced 2025-06-05 22:09:26 +02:00

cwをサポート

This commit is contained in:
Xeltica
2020-07-24 12:48:01 +09:00
parent 398e74acd1
commit e8767bee7e
2 changed files with 10 additions and 6 deletions

View File

@@ -14,9 +14,9 @@ mixin sub-note(note)
p= note.text p= note.text
mixin note(note) mixin note(note)
if (note.reply) if note.reply
+sub-note(note.reply)(style="opacity: 0.5") +sub-note(note.reply)(style="opacity: 0.5")
if (note.renote && !note.text) if note.renote && !note.text
p: b 🔁 !{getUserName(note.user)} がRenote p: b 🔁 !{getUserName(note.user)} がRenote
+note(note.renote) +note(note.renote)
else else
@@ -24,10 +24,15 @@ mixin note(note)
+avatar(note.user) +avatar(note.user)
+note-header(note) +note-header(note)
p p
if (note.reply) if note.reply
| ↩ | ↩
if note.cw
details
summary !{note.cw} (!{note.text.length}文字)
!= note.text != note.text
if (note.renote) else
!= note.text
if note.renote
p RN: p RN:
+sub-note(note.renote) +sub-note(note.renote)
aside aside

View File

@@ -4,7 +4,6 @@ block header
+nav +nav
block content block content
+avatar(user)
p: b=getUserName(user) p: b=getUserName(user)
|   |  
span(style="color: gray")= getAcct(user) span(style="color: gray")= getAcct(user)