Added Customization.IconLink
for customizing favicon
This commit is contained in:
parent
ac9a2f3970
commit
6b6f3090c1
|
@ -12,9 +12,11 @@
|
||||||
<base href="/">
|
<base href="/">
|
||||||
<link rel="stylesheet" href="app.css">
|
<link rel="stylesheet" href="app.css">
|
||||||
<link rel="stylesheet" href="/css/main.min.css">
|
<link rel="stylesheet" href="/css/main.min.css">
|
||||||
<link rel="stylesheet" href="Wave.styles.css">
|
|
||||||
|
|
||||||
<!-- #region favicon + manifest -->
|
<!-- #region favicon + manifest -->
|
||||||
|
@if (!string.IsNullOrWhiteSpace(Customizations.Value.IconLink)) {
|
||||||
|
<link rel="icon" href="@Customizations.Value.IconLink">
|
||||||
|
} else {
|
||||||
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
|
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
|
||||||
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
|
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
|
||||||
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
|
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
|
||||||
|
@ -28,6 +30,7 @@
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||||
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
|
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||||
|
}
|
||||||
<link rel="manifest" href="/manifest.json">
|
<link rel="manifest" href="/manifest.json">
|
||||||
<meta name="msapplication-TileColor" content="#ffffff">
|
<meta name="msapplication-TileColor" content="#ffffff">
|
||||||
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
|
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
|
||||||
|
|
|
@ -8,5 +8,6 @@ public class Customization {
|
||||||
public string DefaultLanguage { get; set; } = "";
|
public string DefaultLanguage { get; set; } = "";
|
||||||
public bool DefaultNarrowReader { get; set; } = false;
|
public bool DefaultNarrowReader { get; set; } = false;
|
||||||
public string LogoLink { get; set; } = "";
|
public string LogoLink { get; set; } = "";
|
||||||
|
public string IconLink { get; set; } = "";
|
||||||
public string Footer { get; set; } = "";
|
public string Footer { get; set; } = "";
|
||||||
}
|
}
|
Loading…
Reference in a new issue