fixed / anchor
This commit is contained in:
parent
6122768619
commit
0c1708e450
1 changed files with 3 additions and 1 deletions
|
|
@ -118,7 +118,9 @@ func (r *responseInterceptor) GetPaths(path string, filesystem *fs.FS, relative
|
|||
}
|
||||
dc.Base = path
|
||||
path = strings.TrimSuffix(path, "/")
|
||||
if path != "/" && path != "" {
|
||||
pa = "#" + anchor(path)
|
||||
}
|
||||
for _, p := range dc.AllPaths {
|
||||
p = xmldecode(p)
|
||||
name := template.HTML(p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue