🎨 Improve local image rendering in README of installed marketplace packages https://github.com/siyuan-note/siyuan/issues/14502

This commit is contained in:
Daniel 2025-04-03 13:17:54 +08:00
parent 7ab4ccf991
commit 4b27f131ca
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 20 additions and 9 deletions

View file

@ -191,7 +191,7 @@ func InstalledTemplates() (ret []*Template) {
continue
}
template.PreferredReadme, _ = renderREADME(template.URL, readme)
template.PreferredReadme, _ = renderLocalREADME("/templates/"+dirName+"/", readme)
template.Outdated = isOutdatedTemplate(template, bazaarTemplates)
ret = append(ret, template)
}