From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_DBL_BLOCKED_OPENDNS, URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1737249138; bh=vW8ayc0Hzycn7BwWUOSsTXhBvmRm1Ow/Kim4E1IcXw0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Message-ID:Date:From: Reply-To:Subject:To:Cc:In-Reply-To:References:Resent-Date: Resent-From:Resent-To:Resent-Cc:User-Agent:Content-Type: Content-Transfer-Encoding; b=cHarJWebDCnO6GAdu4ybABJKhsGeFEHQoEK3Zr97XVePQ0+8rMckJo8Sj0L3qzo4R e5uvLCIrr26Ax8diA/GfjspMFg9gVvZWUUj32LX4IXAamoxWihyIUWXCWcFd7zO49R 1SUEGXlLtCNMOsVPhRIvCsYVDDm/KZoiWbYFizvKbzadR2XXcsewy5yDWIUzsNdfi+ ozgo0K+y/FMQP86YAlcRuen6iT/Ken7ok1bX8Bxaa0mBMTOaAoC22LU5bqdz23e2su bhMwqmwFkRPjylwoI6RBtQcxfD75q1SNtXGNK/8yfSKqWsotZN0JoonKR2xf4tTMe7 Gr3BCzr6hgNnw== Received: from localhost.localdomain (unknown [101.128.125.239]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id 6ABB22061C2A; Sun, 19 Jan 2025 01:12:16 +0000 (UTC) From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , Dwiky Rizky Ananditya , GNU/Weeb Mailing List Subject: [PATCH v1 02/17] feat(routes): configure page layout options Date: Sun, 19 Jan 2025 08:11:19 +0700 Message-ID: <20250119011136.1254-3-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.45.2.windows.1 In-Reply-To: <20250119011136.1254-1-kiizuha@gnuweeb.org> References: <20250119011136.1254-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: enable prerendering and client-side rendering options: - setting `prerender` to `true` ensures the entire page is prerendered at build time. - setting `ssr` to `false` switches the entire page to client-side rendering. Signed-off-by: Muhammad Rizki --- src/routes/+layout.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/routes/+layout.ts diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts new file mode 100644 index 0000000..ceccaaf --- /dev/null +++ b/src/routes/+layout.ts @@ -0,0 +1,2 @@ +export const prerender = true; +export const ssr = false; -- Muhammad Rizki