diff --git a/refpolicy/doc/templates/module.html b/refpolicy/doc/templates/module.html
index 8e6b06f..dbd92a0 100644
--- a/refpolicy/doc/templates/module.html
+++ b/refpolicy/doc/templates/module.html
@@ -1,16 +1,27 @@
+
Layer: [[mod_layer]]
Module: [[mod_name]]
+[[if interfaces]]
Interfaces
+[[end]]
+[[if templates]]
Templates
+[[end]]
Description:
[[if mod_desc]]
[[mod_desc]]
[[else]]
[[mod_summary]]
[[end]]
-
+[[if interfaces]]
+
Interfaces:
[[interfaces]]
-
+Return
+[[end]]
+[[if templates]]
+
Templates:
[[templates]]
+Return
+[[end]]