mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 05:28:07 +01:00
🎨 Creating a dailynote template supports doc attributes https://github.com/siyuan-note/siyuan/issues/10698
This commit is contained in:
parent
45df03aede
commit
8b7e6661f5
3 changed files with 28 additions and 20 deletions
|
|
@ -85,7 +85,7 @@ func renderTemplate(c *gin.Context) {
|
|||
preview = previewArg.(bool)
|
||||
}
|
||||
|
||||
content, err := model.RenderTemplate(p, id, preview)
|
||||
_, content, err := model.RenderTemplate(p, id, preview)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = util.EscapeHTML(err.Error())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue