Add the author's avatar and support rounded corners.

This commit is contained in:
凡梦星尘 2022-05-05 13:58:46 +08:00
parent 3cc2907f44
commit f40e994d42
3 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
} }
.site-author-image { .site-author-image {
border-radius:0; border-radius:50%;
} }
.back-to-top { .back-to-top {

View File

@ -46,7 +46,7 @@
<div class="site-overview-wrap sidebar-panel"> <div class="site-overview-wrap sidebar-panel">
<div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person"> <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="/imgs/icons/apple-touch-icon-next.png"> <img class="site-author-image" itemprop="image" alt="John Doe" src="/imgs/hugo-next-avator.png">
<p class="site-author-name" itemprop="name">{{ .Site.Params.author }}</p> <p class="site-author-name" itemprop="name">{{ .Site.Params.author }}</p>
<div class="site-description" itemprop="description">{{ .Site.Params.description }}</div> <div class="site-description" itemprop="description">{{ .Site.Params.description }}</div>
</div> </div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB