🐛 Fixed the author's avatar image path & post footer button hover style.
This commit is contained in:
parent
6cc370cb53
commit
331c692be5
@ -129,7 +129,7 @@ params:
|
||||
# Sidebar Avatar
|
||||
avatar:
|
||||
# Replace the default image and set the url here.
|
||||
url: /imgs/hugo-next-avatar.png
|
||||
url: /imgs/hugo_next_avatar.png
|
||||
# If true, the avatar will be displayed in circle.
|
||||
rounded: true
|
||||
# If true, the avatar will be rotated with the cursor.
|
||||
|
@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div class="site-overview-wrap sidebar-panel">
|
||||
<div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
|
||||
<img class="site-author-image" itemprop="image" alt="John Doe" src="{{ .Site.Params.avatar.url }}">
|
||||
<img class="site-author-image" itemprop="image" alt="{{ $SP.author }}" src="{{ $SP.avatar.url }}">
|
||||
<p class="site-author-name" itemprop="name">{{ $SP.author }}</p>
|
||||
<div class="site-description" itemprop="description">{{ $SP.description }}</div>
|
||||
</div>
|
||||
|
@ -95,8 +95,8 @@
|
||||
content: "";
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: var(--btn-default-hover-bg);
|
||||
@ -148,9 +148,9 @@
|
||||
content: "";
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: -1px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: -1px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: var(--btn-default-hover-bg);
|
||||
-webkit-transform: scaleX(0);
|
||||
|
Loading…
Reference in New Issue
Block a user