Files
RSSHub/lib/v2/lkong/templates/content.art
T
Ethan Shen 2949bb4f21 fix(route): 龙空 (#9096)
* fix(route): 龙空

* fix: throw login required error
2022-02-14 21:25:43 +08:00

18 lines
448 B
Arturo

{{ each content paragraph }}
{{ if paragraph.type == 'paragraph' }}
<p>
{{ each paragraph.children child }}
{{ if child.text }}
<span {{ if child.color }}style="color: {{ child.color }}"{{ /if }}>
{{ if child.bold }}<strong>{{ /if }}
{{ child.text }}
{{ if child.bold }}</strong>{{ /if }}
</span>
{{ /if }}
{{ if child.type == 'emotion' }}
<img src="https://image.lkong.com/bq/em{{ child.id }}.gif">
{{ /if }}
{{ /each }}
</p>
{{ /if }}
{{ /each }}