Jacky Zhao
2024-02-12 76f295620c5e8ffc21a78698468ab38b2916a461
feat: add transclude-src to transclude 'link to original'
1 files modified
6 ■■■■ changed files
quartz/components/renderPage.tsx 6 ●●●● patch | view | raw | blame | history
quartz/components/renderPage.tsx
@@ -103,7 +103,7 @@
              {
                type: "element",
                tagName: "a",
                properties: { href: inner.properties?.href, class: ["internal"] },
                properties: { href: inner.properties?.href, class: ["internal", "transclude-src"] },
                children: [
                  { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
                ],
@@ -140,7 +140,7 @@
            {
              type: "element",
              tagName: "a",
              properties: { href: inner.properties?.href, class: ["internal"] },
              properties: { href: inner.properties?.href, class: ["internal", "transclude-src"] },
              children: [
                { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
              ],
@@ -170,7 +170,7 @@
            {
              type: "element",
              tagName: "a",
              properties: { href: inner.properties?.href, class: ["internal"] },
              properties: { href: inner.properties?.href, class: ["internal", "transclude-src"] },
              children: [
                { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
              ],