Add solitude

This commit is contained in:
IF-chan
2024-07-05 21:01:19 +08:00
parent 26d71c4fbc
commit 71758b9fce
289 changed files with 23277 additions and 0 deletions
@@ -0,0 +1,44 @@
- const {use,count} = theme.comment
#post-comment
.comment-head
.comment-headline
i.solitude.st-chat-fill
span=' ' + _p('comment.title')
if count && is_post()
span.count
= ' ('
each name in use
case name
when "Twikoo"
span.twikoo-count
i.solitude.st-loading-line
when "Waline"
span.waline-comment-count
i.solitude.st-loading-line
when "Valine"
span.valine-comment-count(data-xid=url_for(page.path) itemprop="commentCount")
i.solitude.st-loading-line
when "Artalk"
span.artalk-count
| )
if use.length > 1
.comment-switch
span.first=use[0]
span#switch-btn
span.second=use[1]
.comment-wrap
each name in use
case name
when 'Valine'
#vcomment.vcomment
when 'Twikoo'
#twikoo-wrap
when 'Waline'
#waline-wrap
when 'Artalk'
#artalk-wrap
when 'Giscus'
#giscus-wrap