R static/main.css => assets/main.scss +9 -2
@@ 23,8 23,15 @@ pre {
font-size: 16px;
}
-a:visited { color: blue; }
-a:hover { text-decoration: none; }
+a {
+ &:visited {
+ color: blue;
+ }
+
+ &:hover {
+ text-decoration: none;
+ }
+}
.content {
max-width: 680px;
M layouts/partials/head.html => layouts/partials/head.html +2 -1
@@ 8,7 8,8 @@
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
-<link rel="stylesheet" href="/main.css" />
+{{ $style := resources.Get "main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
+<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ range .Params.scripts }}
<script src="{{ . }}"></script>