Files
RSSHub/lib/v2/curius/templates/description.art
T
Ovler c9d4f76733 feat(route): add curius.app (#11182)
* feat(route): curius.app

* fix typo

* fix undefined

* use full text

* Change style

* add tab

* upd

* edit example

* Specify the root domain only

* Fix maintainer.js

* fix typo

* update link

* fix: multiple fixes
2022-11-26 22:52:38 +08:00

17 lines
549 B
Arturo
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{{ if item.metadata.full_text }}
原文:{{@ item.metadata.full_text.replace(/\n/gm, '<br>') }}<br><br>
{{ /if }}
{{ if item.comments.length }}
评论:{{ item.comments[0].text.substring(0, 100) }}<br><br>
{{ /if }}
{{ if item.highlights.length }}
评论:
{{ each item.highlights highlight }}
{{ if highlight.comment }}
{{ highlight.highlight }}<br>评论:{{ highlight.comment.text }}<br>
{{ else }}
<br>标注:{{ highlight.highlight }}<br>
{{ /if }}
{{ /each }}
{{ /if }}