api surat views increment
This commit is contained in:
parent
cd8ac64165
commit
27ecc3871f
|
|
@ -48,7 +48,7 @@ slug = "{{ :slug }}"
|
|||
</h1>
|
||||
{% if post.featured_image %}
|
||||
<picture class="news__image">
|
||||
<img src="{{post.featured_image|media_cdn}}" alt="{{post.title}}">
|
||||
<img src="{{post.featured_image|media_cdn|resize(200,200)}}" alt="{{post.title}}">
|
||||
</picture>
|
||||
{% endif %}
|
||||
</header>
|
||||
|
|
@ -97,4 +97,4 @@ slug = "{{ :slug }}"
|
|||
}
|
||||
});
|
||||
</script>
|
||||
{% endput %}
|
||||
{% endput %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue