make it unclickable

This commit is contained in:
sasha-astiadi
2023-12-05 16:48:34 +01:00
parent a692b622f2
commit 0adb9c3d75
4 changed files with 5 additions and 30 deletions

View File

@@ -1,4 +1,5 @@
<div class="flex flex-col px-0 sm:px-4 pb-2">
<div style="pointer-events: none;">
<a href="{{page.permalink}}" class="border-0 text-gray-700 hover:!text-gray-700 font-normal text-left">
{% 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'}}" />
@@ -22,5 +23,6 @@
</div>
</div>
</a>
</div>
</div>