mirror of
https://github.com/safing/web
synced 2025-09-01 18:49:06 +00:00
Update thumbnail_video
This commit is contained in:
parent
2ceb1c0e7a
commit
7180e555cb
1 changed files with 24 additions and 24 deletions
|
@ -1,31 +1,31 @@
|
||||||
<li class="mt-10 md:mt-0">
|
<a class="card-blog" href="{{ video.url }}">
|
||||||
<div class="block transform hover:scale-95 duration-150 ease-in-out">
|
<div class="card-blog-thumbnail">
|
||||||
<a href="{{ video.url }}">
|
|
||||||
{% if video.custom_thumbnail_name == null %}.
|
{% if video.custom_thumbnail_name == null %}.
|
||||||
<img src="{{ site.img_url }}thumbnails/video/placeholder.png" alt="">
|
<img src="{{ site.img_url }}thumbnails/video/placeholder.png" alt="">
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ site.img_url }}thumbnails/video/{{ video.custom_thumbnail_name }}.png" alt="">
|
<img src="{{ site.img_url }}thumbnails/video/{{ video.custom_thumbnail_name }}.png" alt="">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span style="font-size: 12rem; font-weight: 800; margin-top: -13.8rem; margin-left: -0.8rem;" class=" z-0 absolute bg-top">
|
<span class="box-icon">
|
||||||
<button type="button" style="background-color: #6188ff;" class="inline-flex items-center px-4 py-4 rounded-md border border-transparent text-xs leading-5 font-extrabold text-white">
|
<i class="icon-play text-xl"></i>
|
||||||
<svg class="h-8 w-auto lg:h-5 fill-current text-white" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9.41 11">
|
|
||||||
<path d="M8.43 4.62l-6.34-4A1 1 0 00.5 1.5v8a1 1 0 001.59.88l6.34-4a1 1 0 000-1.76z" stroke-miterlimit="10" /></svg>
|
|
||||||
</button>
|
|
||||||
</span>
|
</span>
|
||||||
<div class="pt-6">
|
|
||||||
<span class="opacity-25">
|
|
||||||
{% if include.pre_header %}
|
|
||||||
{{ include.pre_header }} -
|
|
||||||
{% endif %}
|
|
||||||
{{ video.date | date: "%-d. %b %Y" }}
|
|
||||||
</span>
|
|
||||||
{% if video.progress_update %}
|
|
||||||
{% assign title_length = video.title | size %}
|
|
||||||
<p>{{ video.title | slice: 7, title_length }} - #{{ video.title | slice: 2, 2 }}</p>
|
|
||||||
{% else %}
|
|
||||||
<p>{{ video.title }}</p>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
<div class="card-blog-content">
|
||||||
|
<div class="content-wrapper">
|
||||||
|
<span class="w-full">
|
||||||
|
{% if include.pre_header %}
|
||||||
|
{{ include.pre_header }} -
|
||||||
|
{% endif %}
|
||||||
|
{{ video.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 video.progress_update %}
|
||||||
|
{% assign title_length = video.title | size %}
|
||||||
|
<span>{{ video.title | slice: 7, title_length }} - #{{ video.title | slice: 2, 2 }}</span>
|
||||||
|
{% else %}
|
||||||
|
<span>{{ video.title }}</span>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</a>
|
Loading…
Add table
Reference in a new issue