add murph_url filter
This commit is contained in:
parent
c1d3ed43f4
commit
7376bbaeb6
|
@ -14,7 +14,7 @@
|
|||
|
||||
{% set url = post.quickUrl %}
|
||||
{% set title = post.title %}
|
||||
{% set content = post.content %}
|
||||
{% set content = post.content|murph_url %}
|
||||
|
||||
{% if false and post.quickVideo and post.quickVideoHeight and post.quickVideoWidth %}
|
||||
<div class="quick-video">
|
||||
|
@ -42,11 +42,11 @@
|
|||
</p>
|
||||
|
||||
{% if post.contentFormat == 'html' %}
|
||||
{{- post.content|post -}}
|
||||
{{- post.content|murph_url|post -}}
|
||||
{% endif %}
|
||||
|
||||
{% if post.contentFormat == 'markdown' %}
|
||||
{{- post.content|markdown('post') -}}
|
||||
{{- post.content|murph_url|markdown('post') -}}
|
||||
{% endif %}
|
||||
|
||||
{% if not full %}
|
||||
|
@ -92,11 +92,11 @@
|
|||
|
||||
<div class="body-content">
|
||||
{% if post.contentFormat == 'html' %}
|
||||
{{- post.content|post -}}
|
||||
{{- post.content|murph_url|post -}}
|
||||
{% endif %}
|
||||
|
||||
{% if post.contentFormat == 'markdown' %}
|
||||
{{- post.content|markdown('post')|lazy_load -}}
|
||||
{{- post.content|murph_url|markdown('post')|lazy_load -}}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<div class="col-12">
|
||||
<div class="body">
|
||||
<div class="body-content">
|
||||
{{- _page.content.value|markdown('post') -}}
|
||||
{{- _page.content.value|murph_url|markdown('post') -}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<div class="col-12">
|
||||
<div class="body">
|
||||
<div class="body-content">
|
||||
{{- _page.content.value|markdown('post') -}}
|
||||
{{- _page.content.value|murph_url|markdown('post') -}}
|
||||
|
||||
<p>
|
||||
<a target="_blank" title="RSS" href="{{ safe_path(_node.routeName ~ '_rss') }}">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<div class="col-12">
|
||||
<div class="body">
|
||||
<div class="body-content">
|
||||
{{- _page.content.value|markdown('post') -}}
|
||||
{{- _page.content.value|murph_url|markdown('post') -}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1 +1 @@
|
|||
{{ _page.content.value|raw }}
|
||||
{{ _page.content.value|murph_url|raw }}
|
||||
|
|
Loading…
Reference in a new issue