archive
/
givemoneyto.me
Archived
1
Fork 0

Add basic template with static files

This commit is contained in:
Jake Howard 2019-02-04 14:01:33 +00:00
parent b17b20b03f
commit 175e0c76cf
Signed by: jake
GPG Key ID: 57AFB45680EDD477
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ .Title }}</title>
{{ partial "style.html" "css/font-awesome.css" }}
{{ partial "style.html" "scss/index.scss" }}
</head>
<body>
{{ partial "script.html" "js/bootstrap.js" }}
</body>
</html>

View File

@ -0,0 +1,2 @@
{{ $script := resources.Get . | minify | fingerprint }}
<script type="text/javascript" src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>

View File

@ -0,0 +1,2 @@
{{ $style := resources.Get . | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" />