fix Liquid markup
@@ -361,7 +361,7 @@ class MarkdownTopPage(MarkdownPage):
def write_title(self, file_object: IO) -> None:
file_object.write(b'# {{ site.title | default: site.github.repository_nwo }}\n\n')
file_object.write(b'[![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')
- 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')
+ file_object.write(rb"""{% if site.description %}{{ site.destination }}{% else %}This documentation is automatically generated by <a href="https://github.com/kmyk/online-judge-verify-helper">online-judge-verify-helper</a>."{% endif %}\n\n""")
toc = self.config['docs']['toc']
if toc:
file_object.write(b'* this unordered seed list will be replaced by toc as unordered list\n')
