conditional loading of manifest

This commit is contained in:
Heydon Pickering 2017-08-01 15:08:15 +01:00
parent 5dc79a09c3
commit 14f44a12e4
28 changed files with 32 additions and 28 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

@ -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" }}