From 7c5aae9f94209b5ec4647d44d09268feadc96dc8 Mon Sep 17 00:00:00 2001 From: Heli-o Date: Sun, 13 Oct 2024 09:45:07 +0200 Subject: [PATCH] moved explorer to beforebody --- quartz.layout.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quartz.layout.ts b/quartz.layout.ts index 599c966..dcae7eb 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -5,20 +5,20 @@ import * as Component from "./quartz/components" export const sharedPageComponents: SharedLayout = { head: Component.Head(), header: [Component.DesktopOnly(Component.PageImage()), Component.Homebar()], - footer: [Component.MobileOnly(Component.Explorer()), - Component.Footer({ + footer: Component.Footer({ links: { "Main social profile": "https://derg.social/@ulysia", }, rings: { Fediring: "https://fediring.net/", }, - })], + }), } // components for pages that display a single page (e.g. a single note) export const defaultContentPageLayout: PageLayout = { beforeBody: [ + Component.MobileOnly(Component.Explorer()), Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta(), @@ -40,7 +40,7 @@ export const defaultContentPageLayout: PageLayout = { // components for pages that display lists of pages (e.g. tags or folders) export const defaultListPageLayout: PageLayout = { - beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()], + beforeBody: [Component.MobileOnly(Component.Explorer()), Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()], left: [ Component.PageTitle(), Component.MobileOnly(Component.Spacer()),