$Id$
-%>
-<% include("themes/" .. theme .. "/header") %>
\ No newline at end of file
+
+<%
+ if not luci.dispatcher.context.template_header_sent then
+ include("themes/" .. theme .. "/header")
+ luci.dispatcher.context.template_header_sent = true
+ end
+%>