Ver código fonte

conditional loading of manifest

Heydon Pickering 8 anos atrás
pai
commit
14f44a12e4

+ 3 - 1
docs/index.html

@@ -30,7 +30,9 @@
   Infusion
 
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
+      <link rel="manifest" href="manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/coding/code-blocks/index.html

@@ -29,7 +29,7 @@
         Code blocks | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/coding/color-palettes/index.html

@@ -29,7 +29,7 @@
         Color palettes | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/coding/command-line/index.html

@@ -29,7 +29,7 @@
         Command line | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/coding/demo-embedding/index.html

@@ -29,7 +29,7 @@
         Demo embedding | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/coding/file-trees/index.html

@@ -29,7 +29,7 @@
         File trees | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/coding/index.html

@@ -29,7 +29,7 @@
         Coding | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/coding/tested/index.html

@@ -29,7 +29,7 @@
         Tested using... | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/coding/writing-inline-demos/index.html

@@ -29,7 +29,7 @@
         Writing inline demos | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/index.html

@@ -29,7 +29,7 @@
         Patterns | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/installation/index.html

@@ -29,7 +29,7 @@
         Installation | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/library-setup/index.html

@@ -29,7 +29,7 @@
         Library setup | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/media/including-images/index.html

@@ -29,7 +29,7 @@
         Including images | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/media/including-videos/index.html

@@ -29,7 +29,7 @@
         Including videos | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/media/index.html

@@ -29,7 +29,7 @@
         Media | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/serving/index.html

@@ -29,7 +29,7 @@
         Serving | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/writing/expandable-sections/index.html

@@ -29,7 +29,7 @@
         Expandable sections | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/writing/index.html

@@ -29,7 +29,7 @@
         Writing | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/writing/library-structure/index.html

@@ -29,7 +29,7 @@
         Library structure | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/writing/markdown-and-metadata/index.html

@@ -29,7 +29,7 @@
         Markdown &amp; metadata | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/writing/notes-and-warnings/index.html

@@ -29,7 +29,7 @@
         Notes &amp; warnings | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/writing/references/index.html

@@ -29,7 +29,7 @@
         References | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/patterns/writing/tables-of-contents/index.html

@@ -29,7 +29,7 @@
         Tables of contents | Infusion
       
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/print-version/index.html

@@ -29,7 +29,7 @@
   Infusion
 
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
docs/service-worker.js


+ 1 - 1
docs/tags/markdown/index.html

@@ -29,7 +29,7 @@
   Patterns tagged Markdown | Infusion
 
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 1 - 1
docs/tags/metadata/index.html

@@ -29,7 +29,7 @@
   Patterns tagged Metadata | Infusion
 
     </title>
-    <link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
+    
   </head>
   <body>
     

+ 3 - 1
themes/infusion/layouts/_default/baseof.html

@@ -29,7 +29,9 @@
         {{ .Title }} | {{ .Site.Title }}
       {{ end }}
     </title>
-    <link rel="manifest" href="{{ "manifest.json" | absURL }}">
+    {{ if .IsHome }}
+      <link rel="manifest" href="manifest.json">
+    {{ end }}
   </head>
   <body>
     {{ if ne .Type "print-version" }}

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff