diff --git a/config.json b/config.json index 18013953..bd42d073 100644 --- a/config.json +++ b/config.json @@ -43,7 +43,7 @@ "manifest": { "short_name": "Anime", "gcm_sender_id": "941298467524", - "theme_color": "#f0c7bb", + "theme_color": "#a7ff47", "background_color": "#f6f6f6", "icons": [ { diff --git a/layout/layout.pixy b/layout/layout.pixy index dac3911a..5be094f3 100644 --- a/layout/layout.pixy +++ b/layout/layout.pixy @@ -8,20 +8,16 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG else 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="theme-color", content=app.Config.Manifest.ThemeColor) - meta(name="google-site-verification", content="1U-E2pDaYbFHyOSWl6AX3DvixQuDc4kfem9Kde_jZ8A") + //- Open Graph if openGraph != nil if openGraph.Tags["og:video"] != "" meta(name="twitter:card", content="player") else 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 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="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") + + //- 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 #container(class=utils.GetContainerClass(ctx)) //- #header @@ -54,6 +57,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG ExtensionNavigation(user) if user != nil #user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme) + script(src="/scripts", async) script(type="application/ld+json")!= organization