mirror of
https://github.com/nxshock/promodj.git
synced 2025-07-01 23:53:35 +05:00
Make html templates separate from site files
This commit is contained in:
parent
b0f9ea1f49
commit
379450c70f
3 changed files with 24 additions and 13 deletions
24
templates/index.htm
Normal file
24
templates/index.htm
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>Список жанров</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<img src="/favicon.svg">
|
||||
{{.Domain}}
|
||||
</header>
|
||||
<main>
|
||||
<h1>Список жанров</h1>
|
||||
<ul id="genres-list">
|
||||
{{range .Genres}}
|
||||
<li><a href="/getm3u?genre={{.Code}}">{{.Name}}</a></li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue