Remove dead code after call to dns_main().
[darkstat] / html.c
diff --git a/html.c b/html.c
index 3524340..2aa3b05 100644 (file)
--- a/html.c
+++ b/html.c
@@ -8,7 +8,6 @@
  * GNU General Public License version 2. (see COPYING.GPL)
  */
 
-#include "darkstat.h"
 #include "config.h"
 #include "str.h"
 #include "html.h"
@@ -33,11 +32,13 @@ void html_open(struct str *buf, const char *title,
         "<!DOCTYPE html>\n"
         "<html>\n"
         "<head>\n"
-         "<title>%s (darkstat3 %s)</title>\n"
+         "<title>%s (darkstat %s)</title>\n"
          "<meta name=\"generator\" content=\"" PACKAGE_STRING "\">\n"
          "<meta name=\"robots\" content=\"noindex, noarchive\">\n"
-         "<link rel=\"stylesheet\" href=\"%s/style.css\" type=\"text/css\">\n"
-        , title, opt_interface, root);
+         "<meta name=\"viewport\" "
+               "content=\"width=device-width, initial-scale=1\">\n"
+         "<link rel=\"stylesheet\" href=\"%s/style.css\" type=\"text/css\">\n",
+        title, title_interfaces, root);
 
     if (want_graph_js)
         str_appendf(buf,
@@ -68,4 +69,4 @@ void html_close(struct str *buf)
         "</html>\n");
 }
 
-/* vim:set ts=4 sw=4 tw=78 expandtab: */
+/* vim:set ts=4 sw=4 tw=80 et: */