add the Production flag, command-line options, and DebugMode computed flag, and put it in the main places I expect it to be used
This commit is contained in:
+6
-1
@@ -18,7 +18,12 @@
|
||||
{{ range k, v := .FrameMetadata(0) }}
|
||||
<meta http-equiv="{{ k }}" content="{{ v }}">
|
||||
{{ end }}
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
{{ if __debugMode }}
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
{{ else }}
|
||||
{* TODO - replace with reference to generated Tailwind CSS file *}
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
{{ end }}
|
||||
<link rel="stylesheet" href="/static/css/ams_style.css" />
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user