mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
IMPR: meta theme-color
This commit is contained in:
parent
41ef7801af
commit
9a2612c68a
@ -11,6 +11,10 @@ $MetaTags
|
|||||||
<meta property="og:site_name" content="{$SiteConfig.Title}" />
|
<meta property="og:site_name" content="{$SiteConfig.Title}" />
|
||||||
<meta property="og:locale" content="$ContentLocale.ATT" />
|
<meta property="og:locale" content="$ContentLocale.ATT" />
|
||||||
|
|
||||||
|
<meta name="theme-color" content="#ffffff">
|
||||||
|
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff" />
|
||||||
|
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#000000" />
|
||||||
|
|
||||||
<% if $MetaTitle %>
|
<% if $MetaTitle %>
|
||||||
<meta property="og:title" content="{$MetaTitle} - {$SiteConfig.Title}" />
|
<meta property="og:title" content="{$MetaTitle} - {$SiteConfig.Title}" />
|
||||||
<meta property="og:image:alt" content="{$MetaTitle}" />
|
<meta property="og:image:alt" content="{$MetaTitle}" />
|
||||||
|
Loading…
Reference in New Issue
Block a user