www_duniayetu/templates/partials/person_card.html

21 lines
1.1 KiB
HTML
Raw Normal View History

2023-08-20 14:27:36 +00:00
<div class="flex flex-col px-0 sm:px-4 pb-2">
2023-12-06 12:09:59 +00:00
<a href="{{page.permalink}}" class="border-0 text-gray-700 hover:!text-gray-700 font-normal text-left ">
2023-08-20 14:27:36 +00:00
{% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %}
<img src="{{url}}" alt="{{page.title ~ ' Picture'}}" />
<div>
<h2 class="text-2xl">{{page.title}}</h2>
2023-12-05 20:46:10 +00:00
<div class="text-md text-gray-700 text-left line-clamp-3 text-ellipsis" style="pointer-events: none;">
2023-08-20 14:27:36 +00:00
{% if page.description %}
{{page.description}}
{% else %}
{{page.content | safe}}
{% endif %}
</div>
<div class="my-2 flex flex-row items-start flex-wrap">
2023-12-06 12:09:59 +00:00
<a href="{{ page.permalink }}" class="border-1 text-s font-bold border-gray-600 hover:text-blue-700 py-1 px-2 mr-2 my-1 border hover:border-blue-500 border-gray-600 text-gray-700 rounded-full" onclick="s">
2023-12-05 20:46:10 +00:00
<u>More Info</u>
</a>
2023-08-20 14:27:36 +00:00
</div>
</div>
</a>
2023-12-05 20:46:10 +00:00
</div>