ceiba-scores/layouts/home.html

42 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2022-02-18 18:17:03 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Hello World</title>
<link rel="apple-touch-icon" href="images/pwa-icon-256.png" />
{{ $style := resources.Get "styles/main.sass" }}
{{ with $style }}
{{ $styleCSS := . | toCSS }}
<link rel="stylesheet" href="{{ $styleCSS.Permalink }}">
{{ end }}
<link rel="manifest" href="/manifest.json" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="white" />
</head>
<body>
2022-03-15 00:50:28 +01:00
<header>
<h1>Ceiba App</h1>
</header>
<ul>
{{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
2022-02-18 18:17:03 +01:00
{{ $js := resources.Get "js/sw.js" }}
{{ with $js }}
{{ $secureJS := . | js.Build }}
<!--script src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script-->
{{ end }}
{{ $js := resources.Get "js/main.js" }}
{{ with $js }}
{{ $secureJS := . | js.Build }}
<script src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
{{ end }}
2022-03-15 00:50:28 +01:00
2022-02-18 18:17:03 +01:00
</body>
</html>