From 3b80a0602ff058b95f1c4532347ad0b1f6304477 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Tue, 21 Feb 2023 20:22:09 +0100 Subject: [PATCH] fix build --- src/lib/articleContent/articleContent.ts | 11 ++++++----- src/lib/components/Footer.svelte | 6 +++--- src/lib/pagination/dropTakeParams.ts | 6 +++--- src/lib/pagination/pagination.ts | 5 +++-- src/routes/articles/[...params].json/+server.ts | 1 - src/routes/feed.ts | 2 +- 6 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/lib/articleContent/articleContent.ts b/src/lib/articleContent/articleContent.ts index 0fa57fe..7698f81 100644 --- a/src/lib/articleContent/articleContent.ts +++ b/src/lib/articleContent/articleContent.ts @@ -1,12 +1,13 @@ -import { error } from "@sveltejs/kit"; -import fm from "front-matter"; -import { readFile } from "fs"; -import { parseField } from "$lib/markdown/parse-markdown"; -import { promisify } from "util"; +import { error } from '@sveltejs/kit' +import fm from 'front-matter' +import { readFile } from 'fs' +import { parseField } from '$lib/markdown/parse-markdown' +import { promisify } from 'util' export interface ArticleAttributes { slug: string layout: string + segments: string[] title: string published: boolean date: string diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte index 371c7ea..fc0e22b 100644 --- a/src/lib/components/Footer.svelte +++ b/src/lib/components/Footer.svelte @@ -1,6 +1,6 @@