<% if node and node.css then %><link rel="stylesheet" type="text/css" href="<%=resource%>/<%=node.css%>" /><% end %>
<meta http-equiv="content-type" content="text/xhtml+xml; charset=utf-8" />
<meta http-equiv="content-script-type" content="text/javascript" />
- <title><%=hostname%> - <%=(node and node.title)%> - LuCI</title>
+ <title><%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI</title>
</head>
<body>
<div id="header">
<% if node and node.css then %><link rel="stylesheet" type="text/css" href="<%=resource%>/<%=node.css%>" /><% end %>
<meta http-equiv="content-type" content="text/xhtml+xml; charset=utf-8" />
<meta http-equiv="content-script-type" content="text/javascript" />
- <title><%= hostname .. ( node.title and ' - ' .. node.title or '') %> - LuCI</title>
+ <title><%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI</title>
<!--[if lt IE 7]>
<script type="text/javascript">