update css

This commit is contained in:
Daniel Alejandro Gallegos 2022-07-23 13:20:48 -04:00
parent a451fd06de
commit a0bf12b008
No known key found for this signature in database
GPG key ID: E1C60F5E34937B03
4 changed files with 20 additions and 1 deletions

13
.gitignore vendored Normal file
View 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

View file

@ -1,2 +1,3 @@
+++
T
+++

View file

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

View file

@ -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>