-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note that the site index template has been rewritten. It's EJS instead of Blueimp now.
- Loading branch information
Showing
5 changed files
with
77 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html<% if(htmlWebpackPlugin.files.manifest) { %> manifest="<%= htmlWebpackPlugin.files.manifest %>"<% } %>> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title><%= htmlWebpackPlugin.options.title || 'Webpack App'%></title> | ||
|
||
<% if (htmlWebpackPlugin.files.favicon) { %> | ||
<link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>"> | ||
<% } %> | ||
|
||
<% if (htmlWebpackPlugin.options.mobile) { %> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<% } %> | ||
|
||
<% for (var css in htmlWebpackPlugin.files.css) { %> | ||
<link href="<%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet"> | ||
<% } %> | ||
|
||
<% if (htmlWebpackPlugin.options.baseHref) { %> | ||
<base href="<%= htmlWebpackPlugin.options.baseHref %>" /> | ||
<% } %> | ||
</head> | ||
<body> | ||
<div class="pure-g"> | ||
<header class="pure-u-1"> | ||
<% if (htmlWebpackPlugin.options.name) { %> | ||
<h1><%= htmlWebpackPlugin.options.name %></h1> | ||
<% } %> | ||
|
||
<% if (htmlWebpackPlugin.options.description) { %> | ||
<div class="description"><%= htmlWebpackPlugin.options.description %></div> | ||
<% } %> | ||
</header> | ||
|
||
<article class="pure-u-1"> | ||
<h2>Demonstration</h2> | ||
<section class="demonstration"> | ||
<%= htmlWebpackPlugin.options.demonstration %> | ||
</section> | ||
|
||
<h2>Documentation</h2> | ||
<section class="documentation"> | ||
<%= htmlWebpackPlugin.options.documentation %> | ||
</section> | ||
</article> | ||
</div> | ||
|
||
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %> | ||
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script> | ||
<% } %> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters