1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-08 04:59:08 +00:00

Update blog thumbnails

This commit is contained in:
Raphty 2023-08-07 11:44:05 +02:00
parent a97a9d29f5
commit 3c82b56c7f
2 changed files with 11 additions and 9 deletions
_includes
assets/img/thumbnails/blog

View file

@ -23,20 +23,22 @@
<div class="card-blog-content" style="max-width: 365px;">
<div class="content-wrapper">
<span class="w-full">
{% if include.pre_header %}
{{ include.pre_header }} -
{% if post.progress_update == true %}
{% assign title_length = post.title | size %}
{{ post.title | slice: 7, title_length }} - #{{ post.title | slice: 2, 2 }}
{% else %}
{{ post.title }}
{% endif %}
{{ post.date | date: "%-d. %b %Y" }}
</span>
<div class="circular-profile" tooltip="{{ post.author | capitalize }}">
<img src="{{ site.img_url }}profiles/{{ post.author | downcase }}.png" alt="{{ post.author | capitalize }}">
</div>
</div>
{% if post.progress_update == true %}
{% assign title_length = post.title | size %}
<span>{{ post.title | slice: 7, title_length }} - #{{ post.title | slice: 2, 2 }}</span>
{% else %}
<span>{{ post.title }}</span>
{% endif %}
<span>
{% if include.pre_header %}
{{ include.pre_header }} -
{% endif %}
{{ post.date | date: "%-d. %b %Y" }}
</span>
</div>
</a>

Binary file not shown.

Before

(image error) Size: 95 KiB

After

(image error) Size: 606 KiB