fix author text color
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="pl-3 flex flex-col text-xs leading-none uppercase">
|
||||
<div class="pl-3 flex flex-col text-xs leading-none uppercase text-gray-400">
|
||||
{% if author %}
|
||||
{{ author.title }}
|
||||
<!-- <a href="{{author.permalink}}" class="text-gray-400 text-xs">{{ author.title }}</a> -->
|
||||
|
||||
@@ -27,7 +27,8 @@
|
||||
{% set author_path = 'people/' ~ author ~ '/index.md' %}
|
||||
{% 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)) %}
|
||||
<a href="{{author.permalink}}" tooltip="{{author.title}}" class="capitalize text-gray-200"> <img
|
||||
<!-- <a href="{{author.permalink}}" tooltip="{{author.title}}" class="capitalize text-gray-200"> -->
|
||||
<img
|
||||
src="{{ author_img }}" alt="{{ author.title }}" class="
|
||||
inline-flex
|
||||
w-8
|
||||
@@ -35,7 +36,8 @@
|
||||
rounded-full
|
||||
bg-gray-200
|
||||
border border-gray-400
|
||||
" /> {{ author.title }}</a>
|
||||
" /> {{ author.title }}
|
||||
<!-- </a> -->
|
||||
{% endfor %}
|
||||
</h4>
|
||||
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
{% set author_path = 'people/' ~ author ~ '/index.md' %}
|
||||
{% 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)) %}
|
||||
<a href="{{author.permalink}}" tooltip="{{author.title}}" class="capitalize text-gray-200"> <img
|
||||
<!-- <a href="{{author.permalink}}" tooltip="{{author.title}}" class="capitalize text-gray-200"> -->
|
||||
<img
|
||||
src="{{ author_img }}" alt="{{ author.title }}" class="
|
||||
inline-flex
|
||||
w-8
|
||||
@@ -27,7 +28,8 @@
|
||||
rounded-full
|
||||
bg-gray-200
|
||||
border-2 border-white
|
||||
" /> {{ author.title }}</a>
|
||||
" /> {{ author.title }}
|
||||
<!-- </a> -->
|
||||
{% endfor %}
|
||||
</h4>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user