WIP: dark theme
This commit is contained in:
parent
193fbeca7c
commit
32818dacf1
9 changed files with 279 additions and 59 deletions
|
@ -8,7 +8,7 @@
|
|||
<body>
|
||||
<a class="skip-main" href="#main">{{ i18n "skipToContent" | humanize }}</a>
|
||||
<div class="container">
|
||||
<header>
|
||||
<header class="common-header">
|
||||
{{ block "header" . }}
|
||||
{{ partial "header.html" . }}
|
||||
{{ end }}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
{{ range $pages }}
|
||||
<div class="post-short-list">
|
||||
<header>
|
||||
<header class="post-header">
|
||||
<h2 class="post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}"><a href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h2>
|
||||
</header>
|
||||
{{ partial "postInfo.html" . }}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{{ end }}
|
||||
|
||||
<article class="post">
|
||||
<header>
|
||||
<header class="post-header">
|
||||
<h1 class="post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title " " }}</h1>
|
||||
</header>
|
||||
<div class="content">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue