Skip to content

Commit

Permalink
Tried fixing in-page subcategory links
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaRain committed Aug 22, 2023
1 parent 1524c7d commit b6a4c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/yaml_to_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_slug(string):
if len(children) > 0:
text += "\n## Subcategories\n{: .no_toc}\n\n"
for c in children:
text += "- [**{}**](/{}/)\n".format(c["name"], get_slug(c["name"]))
text += "- [**{}**](/sfall/{}/)\n".format(c["name"], get_slug(c["name"]))
text += "\n"

if 'items' in cat: # allow parent pages with no immediate items
Expand Down

0 comments on commit b6a4c8d

Please sign in to comment.