Added structured data

This commit is contained in:
2017-11-17 14:51:55 +01:00
parent 09c47b7c6d
commit f921e374e6
4 changed files with 43 additions and 3 deletions

View File

@ -1,4 +1,4 @@
component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openGraph *arn.OpenGraph, meta, tags []string, content string)
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
if openGraph != nil
@ -31,6 +31,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
if user != nil
#user(data-id=user.ID, data-theme=user.Settings().Theme)
script(src="/scripts")
script(type="application/ld+json")!= organization
component Content(content string)
#content-container