remove link from author name

This commit is contained in:
2025-06-03 16:00:46 +03:00
parent dfe367c06c
commit 9d547a85cc
2 changed files with 6 additions and 5 deletions

View File

@@ -57,7 +57,8 @@
<div class="pl-3 flex flex-col text-xs leading-none uppercase"> <div class="pl-3 flex flex-col text-xs leading-none uppercase">
{% if author %} {% if author %}
<a href="{{author.permalink}}" class="text-gray-400 text-xs">{{ author.title }}</a> {{ author.title }}
<!-- <a href="{{author.permalink}}" class="text-gray-400 text-xs">{{ author.title }}</a> -->
{% endif %} {% endif %}
<p class="text-gray-400 text-xs"> <p class="text-gray-400 text-xs">
<time datetime="{{ page.date }}"> {{ page.date | date(format="%B %e, %Y", timezone="America/Chicago") <time datetime="{{ page.date }}"> {{ page.date | date(format="%B %e, %Y", timezone="America/Chicago")

View File

@@ -58,7 +58,7 @@
{% set author = get_page(path=author_path) %} {% set author = get_page(path=author_path) %}
{% set author_img = get_url(path='/' ~ author.relative_path | replace(from='_', to='-') | replace(from='index.md', to=author.extra.imgPath)) %} {% set author_img = get_url(path='/' ~ author.relative_path | replace(from='_', to='-') | replace(from='index.md', to=author.extra.imgPath)) %}
<li class="author-list-item"> <li class="author-list-item">
<a href="{{author.permalink}}" tooltip="{{author.title}}"> <!-- <a href="{{author.permalink}}" tooltip="{{author.title}}"> -->
<img src="{{author_img}}" alt="{{ author.title }}" class=" <img src="{{author_img}}" alt="{{ author.title }}" class="
w-8 w-8
h-8 h-8
@@ -68,7 +68,7 @@
bg-gray-200 bg-gray-200
border border-gray-600 border border-gray-600
" /> " />
</a> <!-- </a> -->
</li> </li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
@@ -86,8 +86,8 @@
{% if pages_str is containing(person) %} {% if pages_str is containing(person) %}
{% set author = get_page(path=author_path) %} {% set author = get_page(path=author_path) %}
{% set author_img = get_url(path='/' ~ author.relative_path | replace(from='_', to='-') | replace(from='index.md', to=author.extra.imgPath)) %} {% set author_img = get_url(path='/' ~ author.relative_path | replace(from='_', to='-') | replace(from='index.md', to=author.extra.imgPath)) %}
<span class="text-xs leading-none uppercase"> <span class="text-xs leading-none uppercase">{{ author.title }}
<a href="{{author.permalink}}" tooltip="{{author.title}}" class="hover:underline text-gray-400">{{ author.title }}</a> <!-- <a href="{{author.permalink}}" tooltip="{{author.title}}" class="hover:underline text-gray-400">{{ author.title }}</a> -->
</span> </span>
{% endif %} {% endif %}
{% endfor %} {% endfor %}