themekit-js 1.1.41 → 1.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,7 +53,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
53
53
|
const _blank:string="_blank"
|
|
54
54
|
|
|
55
55
|
const hasImg = computed(() => {
|
|
56
|
-
return HeroImg!==null
|
|
56
|
+
return HeroImg!==null&& HeroImg.src!=""
|
|
57
57
|
})
|
|
58
58
|
|
|
59
59
|
const hasBgImg =computed(()=>{
|
|
@@ -125,7 +125,7 @@ const styles= computed(() => {
|
|
|
125
125
|
></Button>
|
|
126
126
|
</template>
|
|
127
127
|
<template v-if="pItem.block_type=='text'">{{pItem.content}}</template>
|
|
128
|
-
<template v-if="pItem.block_type=='img'&&pItem.src!=HeroImg.src"><
|
|
128
|
+
<template v-if="pItem.block_type=='img'&&pItem.src!=HeroImg.src"><Image :image="HeroImg.src" ></Image></template>
|
|
129
129
|
</template>
|
|
130
130
|
</p>
|
|
131
131
|
</template>
|
package/dist/node/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as getDefaultExportFromCjs, q as c, t as clearCache, n as init, b as build, o as serve, v as version, p as createServer } from './serve-
|
|
1
|
+
import { a as getDefaultExportFromCjs, q as c, t as clearCache, n as init, b as build, o as serve, v as version, p as createServer } from './serve-_Y2svNpG.js';
|
|
2
2
|
import { createLogger } from 'vite';
|
|
3
3
|
import 'path';
|
|
4
4
|
import 'shiki';
|
package/dist/node/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { normalizePath } from 'vite';
|
|
2
2
|
export { loadEnv } from 'vite';
|
|
3
|
-
import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, a as getDefaultExportFromCjs } from './serve-
|
|
4
|
-
export { S as ScaffoldThemeType, b as build, p as createServer, e as defineConfig, h as defineConfigWithTheme, d as defineLoader, n as init, j as mergeConfig, r as resolveConfig, l as resolvePages, k as resolveSiteData, i as resolveUserConfig, s as scaffold, o as serve } from './serve-
|
|
3
|
+
import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, a as getDefaultExportFromCjs } from './serve-_Y2svNpG.js';
|
|
4
|
+
export { S as ScaffoldThemeType, b as build, p as createServer, e as defineConfig, h as defineConfigWithTheme, d as defineLoader, n as init, j as mergeConfig, r as resolveConfig, l as resolvePages, k as resolveSiteData, i as resolveUserConfig, s as scaffold, o as serve } from './serve-_Y2svNpG.js';
|
|
5
5
|
import path from 'path';
|
|
6
6
|
import 'crypto';
|
|
7
7
|
import 'module';
|
|
@@ -46735,7 +46735,7 @@ function escapeHtml(string) {
|
|
|
46735
46735
|
|
|
46736
46736
|
var escape$1 = /*@__PURE__*/getDefaultExportFromCjs(escapeHtml_1);
|
|
46737
46737
|
|
|
46738
|
-
var version = "1.1.
|
|
46738
|
+
var version = "1.1.52";
|
|
46739
46739
|
|
|
46740
46740
|
async function renderPage(render, config, page, result, appChunk, cssChunk, assets, pageToHashMap, metadataScript, additionalHeadTags) {
|
|
46741
46741
|
const routePath = `/${page.replace(/\.md$/, "")}`;
|