add front matter lines and fix link