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