mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 10:30:13 +01:00
🎨 Improve local image rendering in README of installed marketplace packages https://github.com/siyuan-note/siyuan/issues/14502
This commit is contained in:
parent
7ab4ccf991
commit
4b27f131ca
6 changed files with 20 additions and 9 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue