Преглед на файлове

conditional loading of manifest

Heydon Pickering преди 8 години
родител
ревизия
14f44a12e4
променени са 28 файла, в които са добавени 31 реда и са изтрити 27 реда
  1. 3 1
      docs/index.html
  2. 1 1
      docs/patterns/coding/code-blocks/index.html
  3. 1 1
      docs/patterns/coding/color-palettes/index.html
  4. 1 1
      docs/patterns/coding/command-line/index.html
  5. 1 1
      docs/patterns/coding/demo-embedding/index.html
  6. 1 1
      docs/patterns/coding/file-trees/index.html
  7. 1 1
      docs/patterns/coding/index.html
  8. 1 1
      docs/patterns/coding/tested/index.html
  9. 1 1
      docs/patterns/coding/writing-inline-demos/index.html
  10. 1 1
      docs/patterns/index.html
  11. 1 1
      docs/patterns/installation/index.html
  12. 1 1
      docs/patterns/library-setup/index.html
  13. 1 1
      docs/patterns/media/including-images/index.html
  14. 1 1
      docs/patterns/media/including-videos/index.html
  15. 1 1
      docs/patterns/media/index.html
  16. 1 1
      docs/patterns/serving/index.html
  17. 1 1
      docs/patterns/writing/expandable-sections/index.html
  18. 1 1
      docs/patterns/writing/index.html
  19. 1 1
      docs/patterns/writing/library-structure/index.html
  20. 1 1
      docs/patterns/writing/markdown-and-metadata/index.html
  21. 1 1
      docs/patterns/writing/notes-and-warnings/index.html
  22. 1 1
      docs/patterns/writing/references/index.html
  23. 1 1
      docs/patterns/writing/tables-of-contents/index.html
  24. 1 1
      docs/print-version/index.html
  25. 0 0
      docs/service-worker.js
  26. 1 1
      docs/tags/markdown/index.html
  27. 1 1
      docs/tags/metadata/index.html
  28. 3 1
      themes/infusion/layouts/_default/baseof.html

+ 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>
     

Файловите разлики са ограничени, защото са твърде много
+ 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" }}

Някои файлове не бяха показани, защото твърде много файлове са промени