fix: ignore index.html and provide a sample file instead

This commit is contained in:
Baptiste Grob
2020-07-22 12:09:13 +02:00
parent 1631aee113
commit 5eff00545e
3 changed files with 12 additions and 6 deletions

45
index.html.sample Normal file
View File

@@ -0,0 +1,45 @@
<!--
This file is strictly used for local development using the webpack-dev-server.
-->
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta charset="utf-8" />
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<link href="public/favicon/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180">
</link>
<link href="public/favicon/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png">
</link>
<link href="public/favicon/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png">
</link>
<link href="public/favicon/site.webmanifest" rel="manifest">
</link>
<link color="#5bbad5" href="favicon/safari-pinned-tab.svg" rel="mask-icon">
</link>
<meta name="theme-color" content="#ffffff">
<meta ng-bind="title" content="Standard Notes" name="apple-mobile-web-app-title" />
<meta ng-bind="title" content="Standard Notes" name="application-name" />
<title>Dev · Notes · Standard Notes</title>
<script>
window._default_sf_server = "https://sync.standardnotes.org";
window._extensions_manager_location = "public/extensions/extensions-manager/dist/index.html";
window._batch_manager_location = "public/extensions/batch-manager/dist/index.min.html";
</script>
<script src="javascripts/app.js"></script>
<link rel="stylesheet" media="all" href="stylesheets/app.css" debug="false" />
</head>
<body>
<root />
</body>
</html>