diff options
Diffstat (limited to 'template.go')
-rw-r--r-- | template.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template.go b/template.go index 242d0a2..32b75be 100644 --- a/template.go +++ b/template.go | |||
@@ -21,7 +21,7 @@ var tpltext = `<!doctype html> | |||
21 | {{- $content = printf "%s\n" $content -}} | 21 | {{- $content = printf "%s\n" $content -}} |
22 | {{- end -}} | 22 | {{- end -}} |
23 | {{- if .Link -}} | 23 | {{- if .Link -}} |
24 | {{- $content = printf "%s%s" $content (printf "<span class=\"link-type\">%s </span> <a class=\"link link--%s\" href=\"%s\">%s</a>" .Type .Type .Link .Text) -}} | 24 | {{- $content = printf "%s%s" $content (printf "<span class=\"link-type\">%s </span><a class=\"link link--%s\" href=\"%s\">%s</a>" .Type .Type .Link .Text) -}} |
25 | {{- else -}} | 25 | {{- else -}} |
26 | {{- $content = printf "%s%s" $content (printf " %s" .Text) -}} | 26 | {{- $content = printf "%s%s" $content (printf " %s" .Text) -}} |
27 | {{- end -}} | 27 | {{- end -}} |