<filename>src/routes/blog/_posts.js<gh_stars>1-10
// Ordinarily, you'd generate this data from markdown files in your
// repo, or fetch them from a database of some kind. But in order to
// avoid unnecessary dependencies in the starter template, and in the
// service of obviousness, we're just going to leave it here.

// This file is called `_posts.js` rather than `posts.js`, because
// we don't want to create an `/blog/posts` route — the leading
// underscore tells Sapper not to do that.

const posts = [
	{
		title: 'What is Kitchefs?',
		slug: 'what-is-kitchefs',
		html: `
			<p>Kitchefs is a new cooking website with verified recipes.</p>

			<p>Kitchefs is free and will always remain free, with no ads. None.</p>
		`
	}
];

posts.forEach(post => {
	post.html = post.html.replace(/^\t{3}/gm, '');
});

export default posts;
