Fix author name
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
<li class="author-list-item">
|
||||
<a href="{{fullpath}}" tooltip="{{author}}">
|
||||
<img src="{{ page.extra.authorImg }}" alt="{{ author }}" class="
|
||||
w-8
|
||||
h-8
|
||||
w-10
|
||||
h-10
|
||||
rounded-full
|
||||
bg-gray-200
|
||||
border-2 border-white
|
||||
@@ -41,7 +41,7 @@
|
||||
{% for author in page.extra.authors %}
|
||||
{% set fullpath = "/people/" ~ author | replace(from='_', to='-' ) %}
|
||||
<span>
|
||||
<a href="{{fullpath}}" tooltip="{{author}}" class="hover:underline">{{ author | replace(from='_', to=' '
|
||||
<a href="{{fullpath}}" tooltip="{{author}}" class="hover:underline text-gray-800">{{ author | replace(from='_', to=' '
|
||||
) }}</a>
|
||||
</span>
|
||||
{% endfor %}
|
||||
|
||||
@@ -12,7 +12,18 @@
|
||||
|
||||
<h4 class="text-sm not-italic font-light leading-6 text-gray-600">
|
||||
{{ featured.date | date(format="%B %e, %Y", timezone="America/Chicago")}} -
|
||||
{{ featured.extra.authors }}
|
||||
{% for author in featured.extra.authors %}
|
||||
{% set fullpath = "/people/" ~ author | replace(from='_', to='-' ) %}
|
||||
<a href="{{fullpath}}" tooltip="{{author}}" class="capitalize text-gray-800"> <img
|
||||
src="{{ featured.extra.authorImg }}" alt="{{ author | replace(from='_', to=' ' ) }}" class="
|
||||
inline-flex
|
||||
w-8
|
||||
h-8
|
||||
rounded-full
|
||||
bg-gray-200
|
||||
border-2 border-white
|
||||
" /> {{author | replace(from='_', to=' ' )}}</a>
|
||||
{% endfor %}
|
||||
</h4>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user