change single scss file to smaccs sass

This commit is contained in:
Daniel Alejandro Gallegos 2022-07-28 20:21:10 -04:00
parent c1f4e92e13
commit f5172b1eb8
No known key found for this signature in database
GPG key ID: E1C60F5E34937B03
8 changed files with 12 additions and 6 deletions

View file

View file

View file

@ -0,0 +1,5 @@
@import "base"
@import "layout"
@import "module"
@import "state"
@import "theme"

View file

@ -1,4 +0,0 @@
body {
background: #151515;
color: #eeeeee;
}

View file

View file

View file

@ -0,0 +1,3 @@
body
background: #151515
color: #eeeeee

View file

@ -1,9 +1,11 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <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"> <link href="{{ $style.RelPermalink }}" rel="stylesheet">
{{ $title := print .Site.Title " | " .Title }} {{ $title := print .Title " | " .Site.Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title> <title>{{ $title }}</title>
</head> </head>