Skip to content

Commit

Permalink
fix: radiofrance geopolitique template, fetch only text contents (#12776
Browse files Browse the repository at this point in the history
)

Co-authored-by: xdu <xiaoming.du86@gmail.com>
  • Loading branch information
xdu and xdu committed Jul 11, 2023
1 parent f4ec715 commit 2de5a79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/v2/radiofrance/templates/article.art
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p>{{ standFirst }}</p>
{{ each bodyJson }}
{{ if $value.type === 'text' }}
<p>{{ $value.children[0].value }}</p>
{{/each}}
{{ /if }}
{{ /each }}

0 comments on commit 2de5a79

Please sign in to comment.