mirror of
https://github.com/knadh/listmonk.git
synced 2024-11-13 02:55:04 +08:00
fix: favicon markup (#2115)
This commit is contained in:
parent
be9fe9c7a2
commit
599147c102
2 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
<link href="{{ .Site.BaseURL }}static/style.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
|
||||
<link rel="shortcut icon" href="{{ .Site.BaseURL }}static/images/favicon.png" type="image/x-icon" />
|
||||
<link rel="icon" href="{{ .Site.BaseURL }}static/images/favicon.png" type="image/png" />
|
||||
|
||||
<meta property="og:title" content="{{ .Title }}" />
|
||||
{{ if .Params.thumbnail }}
|
||||
|
@ -39,4 +39,4 @@
|
|||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
<script src="/public/custom.js?v={{ .AssetVersion }}" async defer></script>
|
||||
|
||||
{{ if ne .FaviconURL "" }}
|
||||
<link rel="shortcut icon" href="{{ .FaviconURL }}" type="image/x-icon" />
|
||||
<link rel="icon" href="{{ .FaviconURL }}" type="image/x-icon" />
|
||||
{{ else }}
|
||||
<link rel="shortcut icon" href="/public/static/favicon.png?v={{ .AssetVersion }}" type="image/x-icon" />
|
||||
<link rel="icon" href="/public/static/favicon.png?v={{ .AssetVersion }}" type="image/png" />
|
||||
{{ end }}
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue