update html template dependency and templates
[websub-hub] / src / template / root-html.js
index 14b9d4773c7e8dfcb5e5659a1b6b2cf6ef471b73..9496c7e8a3a5a666d5be34591380760bb35f81a4 100644 (file)
@@ -3,7 +3,7 @@
 const th = require('./template-helper');
 
 function hAppSection(pageTitle, logoUrl) {
-  return `      <section class="h-app hidden">
+  return `      <section hidden class="h-app">
         <h2>h-app Information for IndieAuth Logins</h2>
         <img src="${logoUrl}" class="u-logo">
         <a href="" class="u-url p-name">${pageTitle}</a>
@@ -160,11 +160,10 @@ module.exports = (ctx, options) => {
     navLinks,
   };
   const content = [
-    '<script>0</script>', // This fixes a layout rendering flash on load in FF; do not know why this works but it does.
     aboutSection(),
     usageSection(isPublicHub, hubURL),
     contactSection(contactHTML),
     hAppSection(pageTitle, options.manager.logoUrl),
   ];
-  return th.htmlPage(1, ctx, htmlOptions, content);
+  return th.htmlPage(0, ctx, htmlOptions, content);
 };
\ No newline at end of file