updated people img paths

This commit is contained in:
timurgordon
2022-07-23 11:02:52 +02:00
parent 3a3992d236
commit 58da17304b
249 changed files with 126 additions and 127 deletions

View File

@@ -1,8 +1,7 @@
<div class="flex flex-col px-0 sm:px-4 pb-2">
<a href="{{post.permalink}}" class="border-0 text-gray-700 hover:!text-gray-700 font-normal text-left">
{% set url = '/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath) %}
{% set url2 = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath)) %}
<img src="{{url2}}" alt="img here" />
{% set url = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath)) %}
<img src="{{url}}" alt="{{post.title ~ ' Picture'}}" />
<div>
<h2 class="text-2xl">{{post.title}}</h2>
<div class="text-md text-gray-700 text-left line-clamp-3 text-ellipsis">