archive: title use page-header class
This commit is contained in:
parent
57a8706d37
commit
db338970a1
|
@ -9,12 +9,6 @@
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-title {
|
|
||||||
margin-bottom: 2px;
|
|
||||||
font-size: 40px;
|
|
||||||
transform: translateX(-2px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive-posts {
|
.archive-posts {
|
||||||
width: 100%
|
width: 100%
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
<h1 class="archive-title">{{ .Title }}</h1>
|
<header class="page-header"><h1>{{ .Title }}</h1></header>
|
||||||
|
|
||||||
{{ range .Site.RegularPages.GroupByPublishDate "2006" }}
|
{{ range .Site.RegularPages.GroupByPublishDate "2006" }}
|
||||||
{{ if ne .Key "0001" }}
|
{{ if ne .Key "0001" }}
|
||||||
|
|
Loading…
Reference in New Issue