From af9ddadc4de513f2bbaf75f70079970215ed6406 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 14 Oct 2023 20:45:56 +0000
Subject: [PATCH] fix(css): import base from custom instead of the other way around (#536)

---
 quartz/plugins/transformers/links.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/plugins/transformers/links.ts b/quartz/plugins/transformers/links.ts
index 475a5e9..e050e00 100644
--- a/quartz/plugins/transformers/links.ts
+++ b/quartz/plugins/transformers/links.ts
@@ -5,7 +5,6 @@
   SimpleSlug,
   TransformOptions,
   _stripSlashes,
-  joinSegments,
   simplifySlug,
   splitAnchor,
   transformLink,
@@ -73,6 +72,7 @@
                     simplifySlug(destCanonical as FullSlug),
                   ) as SimpleSlug
                   outgoing.add(simple)
+                  node.properties["data-slug"] = simple
                 }
 
                 // rewrite link internals if prettylinks is on

--
Gitblit v1.10.0