intialial commit
This commit is contained in:
6
templates/embedded.go
Normal file
6
templates/embedded.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package templates
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed webapp/*
|
||||
var WebappTemplateFS embed.FS
|
||||
0
templates/webapp/blog/sqlite_sqlc.html
Normal file
0
templates/webapp/blog/sqlite_sqlc.html
Normal file
23
templates/webapp/index.html
Normal file
23
templates/webapp/index.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Donovan Kelly</title>
|
||||
<link rel="stylesheet" href="/assets/index.css" />
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<div>
|
||||
<a href="/blog">Blog</a>
|
||||
<a href="/about">About</a>
|
||||
<a href="/contact">Contact</a>
|
||||
</div>
|
||||
</nav>
|
||||
<header></header>
|
||||
<h1>Donovan Kelly</h1>
|
||||
<p>This is a simple web application template.</p>
|
||||
<p>Feel free to customize it as you like!</p>
|
||||
<footer>
|
||||
<p>© {{.Year}} Donovan Kelly</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user