Theme color change
This commit is contained in:
parent
7c5b3e668b
commit
18b9f9a799
@ -43,7 +43,7 @@
|
|||||||
"manifest": {
|
"manifest": {
|
||||||
"short_name": "Anime",
|
"short_name": "Anime",
|
||||||
"gcm_sender_id": "941298467524",
|
"gcm_sender_id": "941298467524",
|
||||||
"theme_color": "#f0c7bb",
|
"theme_color": "#a7ff47",
|
||||||
"background_color": "#f6f6f6",
|
"background_color": "#f6f6f6",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
|
@ -8,20 +8,16 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
|
|||||||
else
|
else
|
||||||
title= app.Config.Title
|
title= app.Config.Title
|
||||||
|
|
||||||
|
//- Viewport
|
||||||
meta(name="viewport", content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes")
|
meta(name="viewport", content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes")
|
||||||
meta(name="theme-color", content=app.Config.Manifest.ThemeColor)
|
|
||||||
meta(name="google-site-verification", content="1U-E2pDaYbFHyOSWl6AX3DvixQuDc4kfem9Kde_jZ8A")
|
|
||||||
|
|
||||||
|
//- Open Graph
|
||||||
if openGraph != nil
|
if openGraph != nil
|
||||||
if openGraph.Tags["og:video"] != ""
|
if openGraph.Tags["og:video"] != ""
|
||||||
meta(name="twitter:card", content="player")
|
meta(name="twitter:card", content="player")
|
||||||
else
|
else
|
||||||
meta(name="twitter:card", content="summary")
|
meta(name="twitter:card", content="summary")
|
||||||
|
|
||||||
//- Color of the embed sidebar in Discord..
|
|
||||||
//- This is equal to link-color in the styles.
|
|
||||||
meta(name="theme-color", content="#a7ff47")
|
|
||||||
|
|
||||||
//- Facebook App ID
|
//- Facebook App ID
|
||||||
meta(property="fb:app_id", content="915407915202908")
|
meta(property="fb:app_id", content="915407915202908")
|
||||||
|
|
||||||
@ -42,6 +38,13 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
|
|||||||
link(rel="icon", type="image/png", sizes="128x128", href="//media.notify.moe/images/brand/128.png")
|
link(rel="icon", type="image/png", sizes="128x128", href="//media.notify.moe/images/brand/128.png")
|
||||||
link(rel="icon", type="image/png", sizes="512x512", href="//media.notify.moe/images/brand/512.png")
|
link(rel="icon", type="image/png", sizes="512x512", href="//media.notify.moe/images/brand/512.png")
|
||||||
link(rel="apple-touch-icon", sizes="180x180", type="image/png", href="//media.notify.moe/images/brand/180.png")
|
link(rel="apple-touch-icon", sizes="180x180", type="image/png", href="//media.notify.moe/images/brand/180.png")
|
||||||
|
|
||||||
|
//- Color of the embed sidebar in Discord,
|
||||||
|
//- also the color of tabs on mobile browsers.
|
||||||
|
meta(name="theme-color", content=app.Config.Manifest.ThemeColor)
|
||||||
|
|
||||||
|
//- Google site verification
|
||||||
|
meta(name="google-site-verification", content="1U-E2pDaYbFHyOSWl6AX3DvixQuDc4kfem9Kde_jZ8A")
|
||||||
body
|
body
|
||||||
#container(class=utils.GetContainerClass(ctx))
|
#container(class=utils.GetContainerClass(ctx))
|
||||||
//- #header
|
//- #header
|
||||||
@ -54,6 +57,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
|
|||||||
ExtensionNavigation(user)
|
ExtensionNavigation(user)
|
||||||
if user != nil
|
if user != nil
|
||||||
#user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme)
|
#user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme)
|
||||||
|
|
||||||
script(src="/scripts", async)
|
script(src="/scripts", async)
|
||||||
script(type="application/ld+json")!= organization
|
script(type="application/ld+json")!= organization
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user