stripped frontmatter and fixed links