还原首页样式
This commit is contained in:
parent
39cd560780
commit
906ab447f7
2 changed files with 7 additions and 2 deletions
|
@ -16,7 +16,12 @@
|
|||
|
||||
{{ range $index, $page := $paginator.Pages }}
|
||||
|
||||
{{ if and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0) }}
|
||||
{{ .Scratch.Set "postClass" "first-entry" }}
|
||||
{{ .Scratch.Set "firstEmoji" "<span class=\"welcome-emoji\">📌</span>" }}
|
||||
{{ else }}
|
||||
{{ .Scratch.Set "postClass" "post-entry" }}
|
||||
{{ end }}
|
||||
|
||||
<article class="post {{ .Scratch.Get `postClass` }}">
|
||||
<header class="post-header">
|
||||
|
|
|
@ -168,8 +168,8 @@ pre, code {
|
|||
/* Main
|
||||
======================================================================= */
|
||||
.list {
|
||||
/* background: #fafafa; */
|
||||
background: #fff;
|
||||
background: #fafafa;
|
||||
/* background: #fff; */
|
||||
}
|
||||
/* Main
|
||||
------------------------------ */
|
||||
|
|
Loading…
Reference in a new issue