Fixed misleading comment

This commit is contained in:
Max Vyz
2019-06-30 23:14:26 +03:00
committed by Conduitry
parent 36d8b98035
commit 12e60e8d82

View File

@@ -1,7 +1,7 @@
<script context="module">
export async function preload({ params, query }) {
// the `slug` parameter is available because
// this file is called [slug].html
// this file is called [slug].svelte
const res = await this.fetch(`blog/${params.slug}.json`);
const data = await res.json();
@@ -61,4 +61,4 @@
<div class='content'>
{@html post.html}
</div>
</div>