SEO with H tags

Signed-off-by: liuboaibc <kukudehero@gmail.com>
This commit is contained in:
liuboaibc 2021-03-29 11:49:23 +08:00
parent 3653faaf6a
commit c865b2c3eb
3 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ main {
& > li {
width: 243px;
float: left;
& > h2 {
& > p {
padding-bottom: 12px;
font-size: 16px;
line-height: 1.5;

View File

@ -170,7 +170,7 @@
background-repeat: no-repeat;
background-position: bottom;
& > h2 {
& > p {
padding: 30px 40px;
font-weight: 600;
line-height: 1.2;

View File

@ -2,10 +2,10 @@
<ul class="common-flex-layout">
{{ range $sections }}
<li>
<h2>
<p>
<span><img src="{{ .Params.icon }}" alt="{{ .LinkTitle }}"></span>
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
</h2>
</p>
{{ $page_list := (union (where .Pages ".Params._build.render" "!=" false) .Sections).ByWeight }}
{{ $length := len $page_list}}
<ul>