Skip to content

Commit

Permalink
remove h1 volume
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Dec 30, 2024
1 parent 436322a commit 8518aa0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hadith/hadith.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ func (v *Volumes) TOC() string {
var data string

for _, volume := range v.Contents {
data += fmt.Sprintf(`<h1>%s</h1>`, volume.Name)
for id, book := range volume.Books {
data += fmt.Sprintf(`<div class="chapter"><a href="/hadith/%d">%s</a></div>`, id+1, book.Name)
}
Expand Down

0 comments on commit 8518aa0

Please sign in to comment.