theme:增加Favicon,调整资源路径。
|
@ -2,3 +2,11 @@
|
|||
less:
|
||||
paths: []
|
||||
options:
|
||||
|
||||
# Favicon
|
||||
favicon:
|
||||
small: /images/favicon-16x16.png
|
||||
medium: /images/favicon-32x32.png
|
||||
large: /images/favicon-48x48.png
|
||||
xlarge: /images/favicon-64x64.png
|
||||
xxlarge: /images/favicon-128x128.png
|
||||
|
|
|
@ -1,6 +1,21 @@
|
|||
<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) { -%>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
body {
|
||||
background: url(/img/scatterbg.svg);
|
||||
background: url(/images/scatterbg.svg);
|
||||
min-height: 100vh;
|
||||
height: 100%;
|
||||
}
|
||||
|
|
BIN
themes/grid/source/images/favicon-128x128.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
themes/grid/source/images/favicon-16x16.png
Normal file
After Width: | Height: | Size: 842 B |
BIN
themes/grid/source/images/favicon-32x32.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
themes/grid/source/images/favicon-48x48.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
themes/grid/source/images/favicon-64x64.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |