mirror of
				https://github.com/ZetaKebab/quartz.git
				synced 2025-11-03 22:49:47 +00:00 
			
		
		
		
	feat: add transclude-src to transclude 'link to original'
This commit is contained in:
		@@ -103,7 +103,7 @@ export function renderPage(
 | 
			
		||||
              {
 | 
			
		||||
                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 @@ export function renderPage(
 | 
			
		||||
            {
 | 
			
		||||
              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 @@ export function renderPage(
 | 
			
		||||
            {
 | 
			
		||||
              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 },
 | 
			
		||||
              ],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user