change single scss file to smaccs sass
This commit is contained in:
parent
c1f4e92e13
commit
f5172b1eb8
8 changed files with 12 additions and 6 deletions
0
themes/birdspace/assets/css/base.sass
Normal file
0
themes/birdspace/assets/css/base.sass
Normal file
0
themes/birdspace/assets/css/layout.sass
Normal file
0
themes/birdspace/assets/css/layout.sass
Normal file
5
themes/birdspace/assets/css/main.sass
Normal file
5
themes/birdspace/assets/css/main.sass
Normal file
|
@ -0,0 +1,5 @@
|
|||
@import "base"
|
||||
@import "layout"
|
||||
@import "module"
|
||||
@import "state"
|
||||
@import "theme"
|
|
@ -1,4 +0,0 @@
|
|||
body {
|
||||
background: #151515;
|
||||
color: #eeeeee;
|
||||
}
|
0
themes/birdspace/assets/css/module.sass
Normal file
0
themes/birdspace/assets/css/module.sass
Normal file
0
themes/birdspace/assets/css/state.sass
Normal file
0
themes/birdspace/assets/css/state.sass
Normal file
3
themes/birdspace/assets/css/theme.sass
Normal file
3
themes/birdspace/assets/css/theme.sass
Normal file
|
@ -0,0 +1,3 @@
|
|||
body
|
||||
background: #151515
|
||||
color: #eeeeee
|
|
@ -1,9 +1,11 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ $style := resources.Get "/css/main.scss" | toCSS }}
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
{{ $style := resources.Get "/css/main.sass" | toCSS }}
|
||||
<link href="{{ $style.RelPermalink }}" rel="stylesheet">
|
||||
{{ $title := print .Site.Title " | " .Title }}
|
||||
{{ $title := print .Title " | " .Site.Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
</head>
|
||||
|
|
Reference in a new issue