api surat views increment

This commit is contained in:
merdan 2021-05-12 15:14:08 +05:00
parent cd8ac64165
commit 27ecc3871f
1 changed files with 2 additions and 2 deletions

View File

@ -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 %}