Repository URL to install this package:
|
Version:
2.0.0-rc.2 ▾
|
@doodle/templating
/
head.ejs
|
|---|
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<% if (typeof excludeTitle === 'undefined' || excludeTitle !== true) {%>
<title>
<%= title %>
</title>
<% } %>
<% if (typeof excludeCanonicalLink === 'undefined' || excludeCanonicalLink !== true) {%>
<link rel="canonical" href="https://<%= host %>/" />
<% } %>
<% if (typeof excludeManifest === 'undefined' || excludeManifest !== true) {%>
<link rel="manifest" href="<%= assetsUrl %>/manifest.json">
<% } %>
<link rel="shortcut icon" type="image/x-icon" href="<%= assetsUrl %>/favicon.ico">
<% for(let style of styles) { %>
<link rel="stylesheet" href="<%= style %>">
<% } %>
<% for(let partial of head) { %>
<%- include(partial); %>
<% } %>
</head>