blog/themes/grid/layout/partial/head.ejs

32 lines
1.3 KiB
Plaintext

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<%_ if (theme.favicon.xxlarge) { %>
<link rel="icon" href="<%= url_for(theme.favicon.xxlarge) %>" type="image/png" sizes="128x128">
<% } %>
<%_ if (theme.favicon.xlarge) { %>
<link rel="icon" href="<%= url_for(theme.favicon.xlarge) %>" type="image/png" sizes="64x64">
<% } %>
<%_ if (theme.favicon.large) { %>
<link rel="icon" href="<%= url_for(theme.favicon.large) %>" type="image/png" sizes="48x48">
<% } %>
<%_ if (theme.favicon.medium) { %>
<link rel="icon" href="<%= url_for(theme.favicon.medium) %>" type="image/png" sizes="32x32">
<% } %>
<%_ if (theme.favicon.small) { %>
<link rel="icon" href="<%= url_for(theme.favicon.small) %>" type="image/png" sizes="16x16">
<% } %>
<%- partial('partial/styles') -%>
<title><%= config.title %> - <%= config.subtitle %></title>
<%_ if (config.keyword) { -%>
<meta name="keywords" content="<% config.keyword %>">
<%_ } -%>
<%_ if (config.description) { -%>
<meta name="description" content="<%= config.description %>">
<%_ } -%>
<%_ if (config.author) { -%>
<meta name="author" content="<%= config.author %>">
<%_ } -%>
</head>