Fix title under/overline

Use jinja2 template feature to draw the under/overline for the title of
the presentation correctly.