serve templates from disk
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{{ define "base" }}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport">
|
||||
<title>ωτφ</title>
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/sm.css">
|
||||
</head>
|
||||
<body>
|
||||
{{ template "body" . }}
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,15 @@
|
||||
{{ define "body" }}
|
||||
<div id="content">
|
||||
<div id="title">
|
||||
<a href="https://s.mcquay.me">smcquay</a>
|
||||
</div>
|
||||
<div id="pic">
|
||||
<a href="https://s.mcquay.me"><img src="/static/img/smcquay.png"></a>
|
||||
</div>
|
||||
<div id="info">
|
||||
<p>
|
||||
My name is <a href="http://stephen.mcquay.me">Stephen McQuay</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user