14 lines
308 B
Go
14 lines
308 B
Go
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)
|
|
return components.Layout(ctx.App, ctx, user, content)
|
|
}
|