commit d9469b824510a458ed13608af987ce09fa8823be
parent 954a775d58562a0ff882287d34d7a50f93edd53b
Author: David Eisinger <[email protected]>
Date: Mon, 9 Jan 2023 23:15:41 -0500
Basic stylesheet
Diffstat:
4 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
@@ -1,2 +1,3 @@
.hugo_build.lock
public
+resources/_gen
diff --git a/themes/v2/assets/css/style.scss b/themes/v2/assets/css/style.scss
@@ -0,0 +1,4 @@
+body {
+ font-family: monospace;
+ padding: 50px;
+}
diff --git a/themes/v2/layouts/partials/head.html b/themes/v2/layouts/partials/head.html
@@ -1,4 +1,6 @@
<head>
<meta charset="utf-8">
<title>{{ .Site.Title }}</title>
+ {{ $css := resources.Get "css/style.scss" | toCSS | minify | fingerprint }}
+ <link rel="stylesheet" href="{{ $css.RelPermalink }}">
</head>
diff --git a/themes/v2/layouts/partials/header.html b/themes/v2/layouts/partials/header.html
@@ -1,3 +1,3 @@
<header>
<h1><a href="/">{{ .Site.Title }}</a></h1>
-<header>
+</header>