add resources to frontmatter and a resource section at the bottom