* feat: adds vice.com route #15694 * Clean up ctx parameters Co-authored-by: Tony <TonyRL@users.noreply.github.com> * remove obsolete feature config Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Updates route to combat future conflicts. removes content Parameter Co-authored-by: Tony <TonyRL@users.noreply.github.com> * removes unnecessary language parameter fallback Co-authored-by: Tony <TonyRL@users.noreply.github.com> * replaces html parsing with json data parsing Co-authored-by: Tony <TonyRL@users.noreply.github.com> - amazing code thanks for your contribution (never had someone comment on my code before, hope I've implemented your suggestions the right way) * Updates the article content, to pull by default Co-authored-by: Tony <TonyRL@users.noreply.github.com>. I've had to update it a little as there were a few errors * Updates example & radar * consolidates similar role cases Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Renames namespace name Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Removes article rendering Whilst _some_ main articles do benefit from inner article rendering, it was inserting irrelevant content (ads for similar content). The articles that do benefit are essentally just listicles. ---------
20 lines
332 B
Arturo
20 lines
332 B
Arturo
{{ if image }}
|
|
<figure>
|
|
<img src="{{ image.url }}" alt="{{ image.alt }}">
|
|
<figcaption>{{ image.caption || image.credit || image.alt }}</figcaption>
|
|
</figure>
|
|
{{ /if }}
|
|
|
|
{{ if body }}
|
|
<p>{{@ body.html }}</p>
|
|
{{ /if }}
|
|
|
|
{{ if heading2 }}
|
|
<hr/>
|
|
<h2>{{@ heading2.html }}</h2>
|
|
{{ /if }}
|
|
|
|
{{ if oembed }}
|
|
{{@ oembed.html }}
|
|
{{ /if }}
|