Changed Project structure, added Hot Reload of gohtml files for Develop and embedding of gohtml files for Release

This commit is contained in:
Pablu23
2024-02-23 10:59:26 +01:00
parent cc7009c106
commit 9bc483afb3
13 changed files with 196 additions and 143 deletions

View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Main Menu</title>
</head>
<body>
<form method="post" action="/new/">
</form>
{{range .Mangas}}
<div>
<text>Title: {{.Title}}</text>
<text>Current Chapter: {{.Number}}</text>
<text>Last Accessed: {{.LastTime}}</text>
<a href="/new/{{.Url}}}" class="button">Go to last Chapter</a>
</div>
{{end}}
</body>
</html>