Added a few priority hints
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openGraph *arn.OpenGraph, meta, tags []string, organization string, content string)
|
||||
html(lang="en")
|
||||
head
|
||||
link(rel="stylesheet", href="/styles")
|
||||
link(rel="stylesheet", href="/styles", importance="high")
|
||||
|
||||
if openGraph != nil
|
||||
title= openGraph.Tags["og:title"]
|
||||
@ -30,6 +30,9 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
|
||||
link(rel="chrome-webstore-item", href="https://chrome.google.com/webstore/detail/hajchfikckiofgilinkpifobdbiajfch")
|
||||
link(rel="manifest", href="/manifest.json")
|
||||
|
||||
//- Preconnect to CDN
|
||||
link(rel="preconnect", href="//media.notify.moe", crossorigin)
|
||||
|
||||
//- Icons
|
||||
link(rel="icon", type="image/webp", sizes="64x64", href="//media.notify.moe/images/brand/64.webp")
|
||||
link(rel="icon", type="image/webp", sizes="128x128", href="//media.notify.moe/images/brand/128.webp")
|
||||
@ -58,7 +61,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
|
||||
if user != nil
|
||||
#user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme)
|
||||
|
||||
script(src="/scripts")
|
||||
script(src="/scripts", importance="high")
|
||||
script(type="application/ld+json")!= organization
|
||||
|
||||
component Content(content string)
|
||||
|
Reference in New Issue
Block a user