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 Infusion
</title> </title>
<link rel="manifest" href="https://heydon.github.io/infusion/manifest.json">
<link rel="manifest" href="manifest.json">
</head> </head>
<body> <body>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

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