fix(head): meta generator tag should be after <title>

- so that browser can parse <title> asap
This commit is contained in:
curben 2019-08-30 05:50:48 +01:00
parent 63a8fccc48
commit 020ba39fff
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,5 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<%- metaGenerator() %>
<% <%
let title = page.title let title = page.title
@ -23,6 +22,7 @@
%> %>
<title><% if (title) { %><%= title %> | <% } %><%= config.title %></title> <title><% if (title) { %><%= title %> | <% } %><%= config.title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<%- metaGenerator() %>
<%/* Add Open Graph meta tags for easier sharing on social networking sites */%> <%/* Add Open Graph meta tags for easier sharing on social networking sites */%>
<%/* Modified from original source for compatibility with my blog */%> <%/* Modified from original source for compatibility with my blog */%>
<%- openGraph() %> <%- openGraph() %>