23 lines
715 B
Go Template
23 lines
715 B
Go Template
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
|
{{ template "fonts" }}
|
|
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/{{ .CONFIG.THEME }}/main.css">
|
|
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/{{ .CONFIG.THEME }}/{{ .CONFIG.THEME }}.css">
|
|
</head>
|
|
<body>
|
|
<div id="page-error" class="{{ if ne .ERROR "" }}show{{ end }}">
|
|
<div class="close" onclick="console.log(this.parentElement.classList.remove('show'))">✖</div>
|
|
{{ .ERROR }}
|
|
</div>
|
|
<div id="layout">
|
|
{{ block "menu" . }}{{ end }}
|
|
<div id="page">
|
|
{{ block "page" . }}{{ end }}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|