mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-19 22:40:30 +02:00
refactor: clean up sidebar TOC structure comments
- Update comments in RenderContext to clarify the deprecation of SidebarTocNode in favor of SidebarTocHeaders. - Remove unnecessary blank line in RenderSidebarTocHTML function for improved code readability.
This commit is contained in:
parent
01554e98cd
commit
b9ab482b75
@ -75,4 +75,3 @@ func RenderSidebarTocHTML(headers []Header, lang string) template.HTML {
|
|||||||
|
|
||||||
return template.HTML(sb.String())
|
return template.HTML(sb.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user