feat: link author name to about page; link color

This commit is contained in:
Ayo Ayco 2021-06-26 00:37:39 +08:00
parent 828d550b71
commit cf00073e04
2 changed files with 11 additions and 1 deletions

View file

@ -25,7 +25,9 @@ layout: default
{% if page.author %} By {% if page.author %} By
<span itemprop="author" itemscope itemtype="http://schema.org/Person"> <span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span class="blog-post__header__meta__author h-card" itemprop="name" <span class="blog-post__header__meta__author h-card" itemprop="name"
>{{ page.author }}</span ><a href="{{ 'about' | relative_url }}"
>{{ page.author }}</a
></span
></span ></span
> >
| {% endif %} {% assign date_format = site.minima.date_format | | {% endif %} {% assign date_format = site.minima.date_format |

View file

@ -31,6 +31,14 @@ body {
font-style: normal; font-style: normal;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
a:hover {
color: #2f5db4;
}
a {
color: #2b6be2;
}
} }
header.site-header { header.site-header {