Skip to content

Commit

Permalink
fix(generators/{app,demo}/templates): fix non-html5 self-closing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
cueedee committed Oct 20, 2017
1 parent 5f854e8 commit d88e8b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions generators/app/templates/src/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<title><%- npm.pkg.name %></title>
<meta name="description" content="<%- npm.pkg.description %>">

<link rel="stylesheet" type="text/css" href="<%- style %>?<%- buildRun %>" /><@ if ( ie8 ) { @><%
<link rel="stylesheet" type="text/css" href="<%- style %>?<%- buildRun %>"><@ if ( ie8 ) { @><%

//
// HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries.
Expand All @@ -41,8 +41,7 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--><@ } @><% if ( debugging ) { %>

<link rel="stylesheet" type="text/css" href="<%- styleBase %>/debug.css?<%- buildRun %>" /><% if ( /^local/.test( environment ) ) { %>
<link rel="stylesheet" type="text/css" href="<%- styleBase %>/debug.css?<%- buildRun %>"><% if ( /^local/.test( environment ) ) { %>
<script>
//
// Load `livereload` relative to document protocol and host, but on a different port.
Expand Down
4 changes: 2 additions & 2 deletions generators/demo/templates/src/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css">

<link rel="stylesheet" type="text/css" href="<%- style %>?<%- buildRun %>" /><@ if ( ie8 ) { @><%
<link rel="stylesheet" type="text/css" href="<%- style %>?<%- buildRun %>"><@ if ( ie8 ) { @><%

//
// HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries.
Expand All @@ -45,7 +45,7 @@
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--><@ } @><% if ( debugging ) { %>

<link rel="stylesheet" type="text/css" href="<%- styleBase %>/debug.css?<%- buildRun %>" /><% if ( /^local/.test( environment ) ) { %>
<link rel="stylesheet" type="text/css" href="<%- styleBase %>/debug.css?<%- buildRun %>"><% if ( /^local/.test( environment ) ) { %>
<script>
//
// Load `livereload` relative to document protocol and host, but on a different port.
Expand Down
2 changes: 1 addition & 1 deletion generators/demo/templates/src/views/documentation.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="col-md-5">
<a href="http://geek-and-poke.com/geekandpoke/2013/12/3/yesterdays-regex/" target="_blank">
<figure>
<img src="style/images/documentation.png" class="img-responsive" alt="Documenting...." />
<img src="style/images/documentation.png" class="img-responsive" alt="Documenting....">
<figcaption>© 2013 geek-and-poke.com CC-BY-3.0</figcaption>
</figure>
</a>
Expand Down
2 changes: 1 addition & 1 deletion generators/demo/templates/src/views/navigation.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"><img src="style/images/marviq-logo-web.png" height="25" /></a>
<a class="navbar-brand" href="#"><img src="style/images/marviq-logo-web.png" height="25"></a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
Expand Down

0 comments on commit d88e8b4

Please sign in to comment.