forked from hero/www_hero_project
edit tech
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<div class="flex flex-col px-0 sm:px-4 pb-2">
|
||||
<a href="{{page.permalink}}" class="border-0 text-gray-50 hover:!text-gray-100 font-normal text-left">
|
||||
{% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %}
|
||||
<img class="mt-4 aspect-[4/4]" src="{{url}}" alt="{{page.title ~ ' Picture'}}" />
|
||||
<img class="mt-4 aspect-[4/4] rounded-xl" src="{{url}}" alt="{{page.title ~ ' Picture'}}" />
|
||||
<div>
|
||||
<br>
|
||||
<h2 class="text-lg">{{page.title}}</h2>
|
||||
<h2 class="text-lg mt-2">{{page.title}}</h2>
|
||||
<div class="text-gray-50 text-left line-clamp-3 text-ellipsis">
|
||||
{% if page.description %}
|
||||
{{page.description}}
|
||||
|
Reference in New Issue
Block a user