diff --git a/docs/template.html b/docs/template.html
index 2d5c0b2e..5ea8fe21 100644
--- a/docs/template.html
+++ b/docs/template.html
@@ -120,12 +120,11 @@
$endif$
$endif$
- $endif$
-
- $if(abstract)$
-
- $abstract$
-
+ $if(abstract)$
+
+ $abstract$
+
+ $endif$
$endif$