No longer using app.SetStyle

This commit is contained in:
2017-11-28 21:48:12 +01:00
parent c1bd0f3a8c
commit 0b6b161a37
5 changed files with 12 additions and 9 deletions

View File

@ -1,6 +1,8 @@
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")
if openGraph != nil
title= openGraph.Tags["og:title"]
else