leo
f129606b8f
All checks were successful
continuous-integration/drone/push Build is passing
* add handlers for signin,singup,logout... * introduce ent ORM and add user schema * add live mode, devel mode to selectively turn on features via config/flags * add templates, handle embedding moar smarter: * live mode uses live folder structure, else embedded templates are used * start using tailwindcss to style stuff * add development goodies for hot-reloading (browser-sync - bs.js) * pimp-up config.dhall with actual custom config Type (enables remote schema and local values only as needed) * add justfile (alternative to makefile for process automation)
27 lines
937 B
Go HTML Template
27 lines
937 B
Go HTML Template
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{{- if true -}}
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, height=device-height initial-scale=1.0, minimum-scale=1.0">
|
|
{{ else }}
|
|
{{htmlSafe "<!--[if IE 6]>"}}
|
|
<meta http-equiv="Content-Type" content="text/html; charset=Unicode">
|
|
{{htmlSafe "<![endif]-->"}}
|
|
{{ end -}}
|
|
<title>{{if .Title}}{{ .Title }} -{{end}} {{if .AppName}}{{ .AppName }}{{end}}</title>
|
|
{{- if .AppName -}}
|
|
<meta property="og:title" content="{{ .AppName }}">
|
|
<meta property="og:site_name" content="{{ .AppName }}">
|
|
{{- end -}}
|
|
<meta property="og:type" content="website">
|
|
|
|
<link rel="icon" href="/static/img/logo-pcmt.svg" type="image/svg+xml">
|
|
<link href="/static/pcmt.css" rel="preload" as="style">
|
|
<link href="/static/pcmt.css" rel="stylesheet">
|
|
|
|
{{- if .DevelMode -}}
|
|
<!-- <link href="http://localhost:3002/browser-sync/browser-sync-client.js?v=2.29.1" rel="preload" as="script"> -->
|
|
{{- end -}}
|
|
</head>
|