listmonk/static/public/templates/index.html

43 lines
1.2 KiB
HTML
Raw Normal View History

2018-10-25 15:51:47 +02:00
{{ define "header" }}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{ .Data.Title }}</title>
<meta name="description" content="{{ .Data.Description }}" />
2018-10-25 15:51:47 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,600" rel="stylesheet">
2018-10-25 15:51:47 +02:00
<link href="/public/static/style.css" rel="stylesheet" type="text/css" />
{{ if ne .FaviconURL "" }}
<link rel="shortcut icon" href="{{ .FaviconURL }}" type="image/x-icon" />
{{ else }}
<link rel="shortcut icon" href="/public/static/favicon.png" type="image/x-icon" />
{{ end }}
2018-10-25 15:51:47 +02:00
</head>
<body>
<div class="container wrap">
<header class="header">
<div class="logo">
{{ if ne .LogoURL "" }}
<img src="{{ .LogoURL }}" alt="{{ .Data.Title }}" />
{{ else }}
<img src="/public/static/logo.svg" alt="{{ .Data.Title }}" />
{{ end }}
</div>
2018-10-25 15:51:47 +02:00
</header>
{{ end }}
{{ define "footer" }}
</div>
<div class="container">
<footer class="footer">
Powered by <a target="_blank" href="https://listmonk.app">listmonk</a>
</footer>
</div>
</body>
</html>
{{ end }}