an example of how to embed static assets into a distributable go binary.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
321 B

{{ define "base" }}
<!DOCTYPE html>
<html>
<head>
<meta content="width=device-width, initial-scale=1" name="viewport">
<title>ωτφ</title>
<link rel="stylesheet" type="text/css" href="/static/css/sm.css">
</head>
<body>
{{ template "body" . }}
</body>
</html>
{{ end }}