Skip to content

Commit eb7c962

Browse files
committed
Updated index.html with info form blazor-demo.github.io
1 parent 9c6f1b5 commit eb7c962

File tree

8 files changed

+40
-12
lines changed

8 files changed

+40
-12
lines changed

.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+


_framework/_bin/BlazorDemoApp.dll

0 Bytes
Binary file not shown.

_framework/_bin/System.Core.dll

0 Bytes
Binary file not shown.

_framework/_bin/System.Net.Http.dll

0 Bytes
Binary file not shown.

_framework/_bin/System.dll

0 Bytes
Binary file not shown.

_framework/_bin/mscorlib.dll

0 Bytes
Binary file not shown.

_framework/_bin/netstandard.dll

0 Bytes
Binary file not shown.

index.html

Lines changed: 39 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,47 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<meta charset="utf-8" />
54
<meta name="viewport" content="width=device-width">
6-
<title>BlazorDemoApp</title>
7-
<base href="/" />
8-
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
9-
<link href="css/site.css" rel="stylesheet" />
5+
<link rel="stylesheet" href="/css/bootstrap/bootstrap.min.css" />
6+
<link rel="stylesheet" href="/css/site.css" />
107
</head>
118
<body>
12-
<app>Loading...</app>
9+
<div id="app">Loading...</div>
1310

14-
<script src="_framework/blazor.js" main="BlazorDemoApp.dll" entrypoint="BlazorDemoApp.Program::Main" references="Blazorous.dll,Microsoft.AspNetCore.Blazor.Browser.dll,Microsoft.AspNetCore.Blazor.dll,Microsoft.Extensions.DependencyInjection.Abstractions.dll,Microsoft.Extensions.DependencyInjection.dll,mscorlib.dll,netstandard.dll,System.Core.dll,System.dll,System.Net.Http.dll" linker-enabled="true"></script>
15-
<script src="_content/Blazorous/BlazorousInterop.js" defer></script>
16-
<script src="_content/Blazorous/glamor.min.js" defer></script>
17-
<script src="_content/Blazorous/polished.js" defer></script>
18-
<script src="_content/Blazorous/polished.min.js" defer></script>
11+
<!-- Start Single Page Apps for GitHub Pages -->
12+
<script type="text/javascript">
13+
// Single Page Apps for GitHub Pages
14+
// https://github.com/rafrex/spa-github-pages
15+
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
16+
// ----------------------------------------------------------------------
17+
// This script checks to see if a redirect is present in the query string
18+
// and converts it back into the correct url and adds it to the
19+
// browser's history using window.history.replaceState(...),
20+
// which won't cause the browser to attempt to load the new url.
21+
// When the single page app is loaded further down in this file,
22+
// the correct url will be waiting in the browser's history for
23+
// the single page app to route accordingly.
24+
(function(l) {
25+
if (l.search) {
26+
var q = {};
27+
l.search.slice(1).split('&').forEach(function(v) {
28+
var a = v.split('=');
29+
q[a[0]] = a.slice(1).join('=').replace(/~and~/g, '&');
30+
});
31+
if (q.p !== undefined) {
32+
window.history.replaceState(null, null,
33+
l.pathname.slice(0, -1) + (q.p || '') +
34+
(q.q ? ('?' + q.q) : '') +
35+
l.hash
36+
);
37+
}
38+
}
39+
}(window.location))
40+
</script>
41+
<!-- End Single Page Apps for GitHub Pages -->
42+
<!-- Temporary polyfill for IE support -->
43+
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
44+
45+
<script src="/_framework/Blazor.Host.min.js" main="MicroApp.dll"></script>
1946
</body>
20-
</html>
47+
</html>

0 commit comments

Comments
 (0)