14 lines
308 B
Go
Raw Normal View History

2017-06-15 21:03:55 +00:00
package layout
import (
"github.com/aerogo/aero"
"github.com/animenotifier/notify.moe/components"
"github.com/animenotifier/notify.moe/utils"
)
// Render layout.
func Render(ctx *aero.Context, content string) string {
user := utils.GetUser(ctx)
2017-06-24 19:07:45 +00:00
return components.Layout(ctx.App, ctx, user, content)
2017-06-15 21:03:55 +00:00
}