Browse Source
Drop define in templates
Just use the full filename instead, this is simpler and more explicit.
master
Simon Ser
4 years ago
No known key found for this signature in database
GPG Key ID: FDE7BE0E88F5E48
6 changed files with
8 additions and
12 deletions
-
public/compose.html
-
public/foot.html
-
public/head.html
-
public/login.html
-
public/mailbox.html
-
public/message.html
|
|
@@ -1,4 +1,4 @@ |
|
|
|
{{template "head"}} |
|
|
|
{{template "head.html"}} |
|
|
|
|
|
|
|
<h1>koushin</h1> |
|
|
|
|
|
|
@@ -23,4 +23,4 @@ |
|
|
|
<input type="submit" value="Send"> |
|
|
|
</form> |
|
|
|
|
|
|
|
{{template "foot"}} |
|
|
|
{{template "foot.html"}} |
|
|
@@ -1,4 +1,2 @@ |
|
|
|
{{define "foot"}} |
|
|
|
</body> |
|
|
|
</html> |
|
|
|
{{end}} |
|
|
@@ -1,4 +1,3 @@ |
|
|
|
{{define "head"}} |
|
|
|
<!DOCTYPE html> |
|
|
|
<html lang="en"> |
|
|
|
<head> |
|
|
@@ -7,4 +6,3 @@ |
|
|
|
<link rel="stylesheet" href="/assets/style.css"> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
{{end}} |
|
|
@@ -1,4 +1,4 @@ |
|
|
|
{{template "head"}} |
|
|
|
{{template "head.html"}} |
|
|
|
|
|
|
|
<h1>koushin</h1> |
|
|
|
|
|
|
@@ -11,4 +11,4 @@ |
|
|
|
<input type="submit" value="Login"> |
|
|
|
</form> |
|
|
|
|
|
|
|
{{template "foot"}} |
|
|
|
{{template "foot.html"}} |
|
|
@@ -1,4 +1,4 @@ |
|
|
|
{{template "head"}} |
|
|
|
{{template "head.html"}} |
|
|
|
|
|
|
|
<h1>koushin</h1> |
|
|
|
|
|
|
@@ -42,4 +42,4 @@ |
|
|
|
<p>Mailbox is empty.</p> |
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{template "foot"}} |
|
|
|
{{template "foot.html"}} |
|
|
@@ -1,4 +1,4 @@ |
|
|
|
{{template "head"}} |
|
|
|
{{template "head.html"}} |
|
|
|
|
|
|
|
<h1>koushin</h1> |
|
|
|
|
|
|
@@ -55,4 +55,4 @@ |
|
|
|
<a href="{{.Message.Uid}}/raw?part={{.PartPath}}">Download</a> |
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{template "foot"}} |
|
|
|
{{template "foot.html"}} |