I very like template system of hugo.
How to hugo as library for go-gin render HTML?
like
ctx.HTML(http.StatusOK, hugo.Page("xxx"), gin.H{
"title": "Hello world",
"content":"..."
})
}
I very like template system of hugo.
How to hugo as library for go-gin render HTML?
like
ctx.HTML(http.StatusOK, hugo.Page("xxx"), gin.H{
"title": "Hello world",
"content":"..."
})
}