update css
This commit is contained in:
parent
a451fd06de
commit
a0bf12b008
4 changed files with 20 additions and 1 deletions
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Generated files by hugo
|
||||
/public/
|
||||
/resources/_gen/
|
||||
/assets/jsconfig.json
|
||||
hugo_stats.json
|
||||
|
||||
# Executable may be added to repository
|
||||
hugo.exe
|
||||
hugo.darwin
|
||||
hugo.linux
|
||||
|
||||
# Temporary lock file while building
|
||||
/.hugo_build.lock
|
|
@ -1,2 +1,3 @@
|
|||
+++
|
||||
T
|
||||
+++
|
||||
|
|
4
themes/birdspace/assets/css/main.scss
Normal file
4
themes/birdspace/assets/css/main.scss
Normal file
|
@ -0,0 +1,4 @@
|
|||
body {
|
||||
background: #151515;
|
||||
color: #eeeeee;
|
||||
}
|
|
@ -1,7 +1,8 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
{{ $style := resources.Get "/css/main.scss" | toCSS }}
|
||||
<link href="{{ $style.RelPermalink }}" rel="stylesheet">
|
||||
{{ $title := print .Site.Title " | " .Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
|
|
Reference in a new issue