feat: add transclude-src to transclude 'link to original'
This commit is contained in:
		@@ -103,7 +103,7 @@ export function renderPage(
 | 
				
			|||||||
              {
 | 
					              {
 | 
				
			||||||
                type: "element",
 | 
					                type: "element",
 | 
				
			||||||
                tagName: "a",
 | 
					                tagName: "a",
 | 
				
			||||||
                properties: { href: inner.properties?.href, class: ["internal"] },
 | 
					                properties: { href: inner.properties?.href, class: ["internal", "transclude-src"] },
 | 
				
			||||||
                children: [
 | 
					                children: [
 | 
				
			||||||
                  { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
 | 
					                  { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
 | 
				
			||||||
                ],
 | 
					                ],
 | 
				
			||||||
@@ -140,7 +140,7 @@ export function renderPage(
 | 
				
			|||||||
            {
 | 
					            {
 | 
				
			||||||
              type: "element",
 | 
					              type: "element",
 | 
				
			||||||
              tagName: "a",
 | 
					              tagName: "a",
 | 
				
			||||||
              properties: { href: inner.properties?.href, class: ["internal"] },
 | 
					              properties: { href: inner.properties?.href, class: ["internal", "transclude-src"] },
 | 
				
			||||||
              children: [
 | 
					              children: [
 | 
				
			||||||
                { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
 | 
					                { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
 | 
				
			||||||
              ],
 | 
					              ],
 | 
				
			||||||
@@ -170,7 +170,7 @@ export function renderPage(
 | 
				
			|||||||
            {
 | 
					            {
 | 
				
			||||||
              type: "element",
 | 
					              type: "element",
 | 
				
			||||||
              tagName: "a",
 | 
					              tagName: "a",
 | 
				
			||||||
              properties: { href: inner.properties?.href, class: ["internal"] },
 | 
					              properties: { href: inner.properties?.href, class: ["internal", "transclude-src"] },
 | 
				
			||||||
              children: [
 | 
					              children: [
 | 
				
			||||||
                { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
 | 
					                { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
 | 
				
			||||||
              ],
 | 
					              ],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user