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