first commit
This commit is contained in:
47
conf/static/public/templates/index.html
Normal file
47
conf/static/public/templates/index.html
Normal file
@ -0,0 +1,47 @@
|
||||
{{ define "header" }}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>{{ .Data.Title }} - {{ .SiteName }}</title>
|
||||
<meta name="description" content="{{ .Data.Description }}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
|
||||
|
||||
{{ if .EnablePublicArchive }}
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ L.T "public.archiveTitle" }} - {{ .SiteName }}"
|
||||
href="{{ .RootURL }}/archive.xml" />
|
||||
{{ end }}
|
||||
|
||||
<link href="/public/static/style.css?v2.3.0" rel="stylesheet" type="text/css" />
|
||||
<link href="/public/custom.css" rel="stylesheet" type="text/css">
|
||||
<script src="/public/custom.js" async defer></script>
|
||||
|
||||
{{ 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 }}
|
||||
</head>
|
||||
<body>
|
||||
<div class="container wrap">
|
||||
<header class="header">
|
||||
<div class="logo">
|
||||
<a href="{{ if .EnablePublicSubPage }}{{ .RootURL}}/subscription/form{{ end }}">
|
||||
{{ if ne .LogoURL "" }}
|
||||
<img src="{{ .LogoURL }}" alt="{{ .Data.Title }}" /></a>
|
||||
{{ else }}
|
||||
<img src="/public/static/logo.svg" alt="{{ .Data.Title }}" />
|
||||
{{ end }}
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
{{ end }}
|
||||
|
||||
{{ define "footer" }}
|
||||
</div>
|
||||
|
||||
<footer class="container">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
Reference in New Issue
Block a user