mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
SEO with H tags
Signed-off-by: liuboaibc <kukudehero@gmail.com>
This commit is contained in:
parent
3653faaf6a
commit
c865b2c3eb
|
|
@ -104,7 +104,7 @@ main {
|
|||
& > li {
|
||||
width: 243px;
|
||||
float: left;
|
||||
& > h2 {
|
||||
& > p {
|
||||
padding-bottom: 12px;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@
|
|||
background-repeat: no-repeat;
|
||||
background-position: bottom;
|
||||
|
||||
& > h2 {
|
||||
& > p {
|
||||
padding: 30px 40px;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue