diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py
index 3e1b78ae3..b63af782d 100755
--- a/scripts/asciidoc2html.py
+++ b/scripts/asciidoc2html.py
@@ -134,11 +134,11 @@ class AsciiDoc:
if re.match(r'^=+$', line):
line = line.replace('=', '-')
found_title = True
- title = last_line + "=" * (len(last_line) - 1)
+ title = last_line[:-1] + " | qutebrowser\n" + "=" * (len(last_line[:-1] + " | qutebrowser") - 1)
elif re.match(r'^= .+', line):
line = '==' + line[1:]
found_title = True
- title = last_line + "=" * (len(last_line) - 1)
+ title = last_line[:-1] + " | qutebrowser\n" + "=" * (len(last_line[:-1] + " | qutebrowser") - 1)
if not hidden:
outfp.write(line.replace(".asciidoc[", ".html["))