revert a line
@@ -362,7 +362,7 @@ class MarkdownTopPage(MarkdownPage):
file_object.write(b'# {{ site.title | default: site.github.repository_nwo }}\n\n')
file_object.write('[![Actions Status]({{ site.github.repository_url }}/workflows/verify/badge.svg)]({{ site.github.repository_url }}/actions) <a href="{{ site.github.repository_url }}"><img src="https://img.shields.io/github/last-commit/{{ site.github.owner_name }}/{{ site.github.repository_name }}" /></a>\n\n'.encode())
file_object.write(b'{{ site.description | default: "This documentation is automatically generated by <a href=\"https://github.com/kmyk/online-judge-verify-helper\">online-judge-verify-helper</a>." }}\n\n')
- toc = self.config['docs'].get('toc', False)
+ toc = self.config['docs']['toc']
if toc:
file_object.write('* this unordered seed list will be replaced by toc as unordered list\n'.encode())
file_object.write('{:toc}\n\n'.encode())
