mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
switch to sass
This commit is contained in:
parent
b5d4f59eaf
commit
572bc88b45
4 changed files with 11 additions and 7 deletions
|
@ -1,2 +1,6 @@
|
|||
+++
|
||||
+++
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
{{ $css := resources.Get "sass/main.sass" }}
|
||||
{{ $css = $css | toCSS }}
|
||||
|
||||
<link rel="stylesheet" href="{{ $css.RelPermalink }}"
|
||||
|
|
1
assets/scss/main.scss
Normal file
1
assets/scss/main.scss
Normal file
|
@ -0,0 +1 @@
|
|||
*{color:red;}
|
|
@ -1,9 +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/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
{{ $title := print .Site.Title " | " .Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
<title>{{ .Title }}</title>
|
||||
{{ $css := resources.Get "scss/main.scss" }}
|
||||
{{ $css = $css | toCSS }}
|
||||
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue