You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
306 B
16 lines
306 B
3 years ago
|
package renderer
|
||
|
|
||
|
import (
|
||
|
"code.tokarch.uk/mainnika/nikita-tokarch-uk/frontend/content"
|
||
|
routing "github.com/jackwhelpton/fasthttp-routing/v2"
|
||
|
)
|
||
|
|
||
|
// blog handler renders blog data
|
||
|
func (r *Renderer) blog(c *routing.Context) (err error) {
|
||
|
|
||
|
blogContent := content.Blog{
|
||
|
}
|
||
|
|
||
|
return c.Write(blogContent)
|
||
|
}
|