mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-08 19:47:36 +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())
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user