mirror of
https://github.com/safing/web
synced 2025-04-20 10:59:08 +00:00
Update blog thumbnails
This commit is contained in:
parent
a97a9d29f5
commit
3c82b56c7f
2 changed files with 11 additions and 9 deletions
|
@ -23,20 +23,22 @@
|
||||||
<div class="card-blog-content" style="max-width: 365px;">
|
<div class="card-blog-content" style="max-width: 365px;">
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<span class="w-full">
|
<span class="w-full">
|
||||||
{% if include.pre_header %}
|
{% if post.progress_update == true %}
|
||||||
{{ include.pre_header }} -
|
{% assign title_length = post.title | size %}
|
||||||
|
{{ post.title | slice: 7, title_length }} - #{{ post.title | slice: 2, 2 }}
|
||||||
|
{% else %}
|
||||||
|
{{ post.title }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ post.date | date: "%-d. %b %Y" }}
|
|
||||||
</span>
|
</span>
|
||||||
<div class="circular-profile" tooltip="{{ post.author | capitalize }}">
|
<div class="circular-profile" tooltip="{{ post.author | capitalize }}">
|
||||||
<img src="{{ site.img_url }}profiles/{{ post.author | downcase }}.png" alt="{{ post.author | capitalize }}">
|
<img src="{{ site.img_url }}profiles/{{ post.author | downcase }}.png" alt="{{ post.author | capitalize }}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if post.progress_update == true %}
|
<span>
|
||||||
{% assign title_length = post.title | size %}
|
{% if include.pre_header %}
|
||||||
<span>{{ post.title | slice: 7, title_length }} - #{{ post.title | slice: 2, 2 }}</span>
|
{{ include.pre_header }} -
|
||||||
{% else %}
|
{% endif %}
|
||||||
<span>{{ post.title }}</span>
|
{{ post.date | date: "%-d. %b %Y" }}
|
||||||
{% endif %}
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
Binary file not shown.
Before ![]() (image error) Size: 95 KiB After ![]() (image error) Size: 606 KiB ![]() ![]() |
Loading…
Add table
Reference in a new issue