Removed templates as this is api only for now.
This commit is contained in:
@@ -1,33 +0,0 @@
|
|||||||
{{define "base"}}
|
|
||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>{{.Title}}</title>
|
|
||||||
<link rel="stylesheet" href="/static/css/reset.css">
|
|
||||||
<link rel="stylesheet" href="/static/css/index.css">
|
|
||||||
<link rel="stylesheet" href="/static/js/index.js" defer>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<header>
|
|
||||||
<nav>
|
|
||||||
<a href="/">home</a>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main>
|
|
||||||
{{template "content" .}}
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
<p>© <span id="year"></span></p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
<script>
|
|
||||||
document.queryselector('#year').innerhtml = new date().getfullyear();
|
|
||||||
</script>
|
|
||||||
</html>
|
|
||||||
{{end}}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{{define "content"}}
|
|
||||||
<section class="hero">
|
|
||||||
<h1>NFeeder</h1>
|
|
||||||
</section>
|
|
||||||
{{end}}
|
|
||||||
Reference in New Issue
Block a user