aboutsummaryrefslogtreecommitdiffstats
path: root/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'template.go')
-rw-r--r--template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.go b/template.go
index 6e541e2..81730a6 100644
--- a/template.go
+++ b/template.go
@@ -14,7 +14,7 @@ var tpltext = `<!doctype html>
14<body> 14<body>
15<main class="wrap"> 15<main class="wrap">
16<pre class="content"> 16<pre class="content">
17{{if .Lines}}{{range .Lines}} {{if .Link}}<span class="link-type">({{.Type}})</span> <a class="link link-{{ .Type }}" href="{{.Link}}">{{.Text}}</a>{{else}} {{.Text}}{{end}} 17{{if .Lines}}{{range .Lines}} {{if .Link}}<span class="link-type"> {{.Type}} </span> <a class="link link-{{ .Type }}" href="{{.Link}}">{{.Text}}</a>{{else}} {{.Text}}{{end}}
18{{end}}{{else}}{{.RawText}}{{end}}</pre> 18{{end}}{{else}}{{.RawText}}{{end}}</pre>
19</main> 19</main>
20<script type="text/javascript"> 20<script type="text/javascript">