mirror of
https://github.com/flysnow-org/maupassant-hugo.git
synced 2026-08-24 15:28:55 +00:00
为网站图标添加 png 和 svg 支持 (#178)
This commit is contained in:
@@ -37,7 +37,10 @@
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
<meta property="og:url" content="{{ .Permalink }}">
|
||||
<link rel="shortcut icon" href='{{ "favicon.ico" | relURL }}' type="image/x-icon">
|
||||
<link rel="shortcut icon" href='{{ "favicon.ico" | relURL }}' type="image/x-icon">
|
||||
<link rel="icon" href='{{ "favicon.png" | relURL }}' type="image/png">
|
||||
<link rel="alternate icon" href='{{ "favicon.png" | relURL }}' type="image/svg+xml">
|
||||
|
||||
|
||||
<link rel="stylesheet" href='{{ "css/normalize.css" | relURL}}'>
|
||||
<link rel="stylesheet" href='{{ "css/style.css" | relURL }}'>
|
||||
@@ -58,4 +61,4 @@
|
||||
{{ range .Site.Params.customCSS }}
|
||||
<link rel="stylesheet" href='{{ "/css/" | relURL }}{{ . }}'>
|
||||
{{ end }}
|
||||
</head>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user