Commit 249c9a17 authored by Tobias Weingartner's avatar Tobias Weingartner

Make default template more readable/clean.

parent c431a07a
...@@ -82,9 +82,13 @@ const ( ...@@ -82,9 +82,13 @@ const (
<html> <html>
<head> <head>
<title>{{.Doc.title}}</title> <title>{{.Doc.title}}</title>
<meta charset="utf-8">{{range .Styles}} <meta charset="utf-8">
<link rel="stylesheet" href="{{.}}">{{end}}{{range .Scripts}} {{- range .Styles}}
<script src="{{.}}"></script>{{end}} <link rel="stylesheet" href="{{.}}">
{{- end}}
{{- range .Scripts}}
<script src="{{.}}"></script>
{{- end}}
</head> </head>
<body> <body>
{{.Doc.body}} {{.Doc.body}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment