summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-06-19 18:41:31 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-06-19 18:41:31 +0200
commit4718ebd990396ffef022743888faf19977db09ce (patch)
tree5317d39167a5852e374f22ea6d0a24d11b0eb11c /template
parente1e1a14105b84a84373680ca6fd437985f3c1b65 (diff)
Minor style changes
Diffstat (limited to 'template')
-rw-r--r--template/doc.tmpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/template/doc.tmpl b/template/doc.tmpl
index 3319bd6..0d7083f 100644
--- a/template/doc.tmpl
+++ b/template/doc.tmpl
@@ -24,9 +24,7 @@
</ul>
{{end}}
-{{define "newline"}}
-{{/* No automatic line break. Paragraphs are free-form. */}}
-{{end}}
+{{define "newline"}}{{end}}
{{define "section"}}
<h4 id="TOC_{{.FormattedNumber}}">{{.Title}}</h4>
@@ -61,7 +59,7 @@
{{end}}
{{define "caption"}}
- <p class="figcaption">{{style .Text}}</p>
+ <div class="figcaption">{{style .Text}}</div>
{{end}}
{{define "iframe"}}