Assets and sample color theme switcher

This commit is contained in:
Hazem Krimi
2023-10-18 21:00:04 +01:00
parent 521727983c
commit f5a54d528f
8 changed files with 103 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{{ $styles := resources.Get "css/baseof.css" | toCSS | minify | fingerprint }}
{{ $scripts := resources.Get "js/baseof.js" | minify | fingerprint }}
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="{{ $styles.Permalink }}">
{{ block "styles" . }}{{ end }}
<title>
{{ block "title" . }}
{{ .Site.Title }}
{{ end }}
</title>
<script defer src="{{ $scripts.Permalink }}"></script>
</head>
<body>
<main>
{{ block "main" . }}{{ end }}
</main>
</body>
</html>