edit blog

This commit is contained in:
2024-08-19 13:34:06 +02:00
parent 92ebcbd49f
commit daa7ab4e75
11 changed files with 97 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
{% if post.extra.imgPath %}
{% set img_url = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath)) %}
<div class="flex-shrink-0">
<img class="h-24 w-full object-cover" src="{{ img_url }}" alt="{{ post.title ~ ' Picture' }}" />
<img class="h-30 w-full object-cover" src="{{ img_url }}" alt="{{ post.title ~ ' Picture' }}" />
</div>
{% endif %}