{% set isVideo = post.quickVideo and post.quickShowVideo and post.quickVideoHeight and post.quickVideoWidth %} {% set image = post.quickImage ? post.quickImage : (post.image ? asset(post.image) : null) %} {% set url = post.quickUrl %} {% set title = post.title %} {% set content = post.content|murph_url %} {%- set content -%} {% if post.contentFormat == 'html' %} {{- post.content|murph_url|file_attributes|post -}} {% elseif post.contentFormat == 'markdown' %} {{- post.content|murph_url|file_attributes|markdown('post') -}} {% elseif post.contentFormat == 'editorjs' %} {{- post.content|murph_url|file_attributes|editorjs_to_html -}} {% endif %} {%- endset -%} {%- set more -%} {% if not full %}

{{- 'Lien permanent' -}}

{% endif %} {%- endset -%} {% if isVideo %}

{{- title -}}

{{ url }}

{{- content|raw -}} {{- more|raw -}}
{% elseif not image %}

{{- title -}}

{{ url }}

{{- content|raw -}} {{- more|raw -}}
{% elseif image %}
{% endif %}