Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template in HEAD pushes content to body #92

Open
ghost opened this issue Jun 10, 2015 · 0 comments
Open

Template in HEAD pushes content to body #92

ghost opened this issue Jun 10, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 10, 2015

Including templates in to the HEAD section of the page pushes all later HEAD content down to the body:

<head>
<% include 'favicon' %>
<title>sustainer.io<%- @title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>

Results in this in the DOM upon display:

<head></head>
<link rel="icon" type="image/png" sizes="192x192" href="/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<title>sustainer.io<%- @title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1">

Is this normal behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants