themekit-js 1.47.2616 → 1.47.2918
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.
|
@@ -44,7 +44,7 @@ function hasParam(children:any,name:string ){
|
|
|
44
44
|
}
|
|
45
45
|
if(params["background"]){
|
|
46
46
|
styles.push({"background":decodeURIComponent(params["background"])})
|
|
47
|
-
|
|
47
|
+
|
|
48
48
|
}
|
|
49
49
|
if(params["height"]){
|
|
50
50
|
styles.push({"height":params["height"]})
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { computed } from 'vue'
|
|
3
3
|
import type { DefaultTheme } from 'themekit-js/theme'
|
|
4
4
|
|
|
5
|
-
import A from './
|
|
5
|
+
import A from './A.vue';
|
|
6
6
|
import Image from './Image.vue';
|
|
7
7
|
|
|
8
8
|
|
|
@@ -115,8 +115,8 @@ const styles= computed(() => {
|
|
|
115
115
|
<p class="tagline">
|
|
116
116
|
<template v-for="(pItem) in item.children" >
|
|
117
117
|
<A v-if="pItem.block_type=='a'" :block="pItem"></A>
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
<template v-if="pItem.block_type=='text'">{{pItem.content}}</template>
|
|
119
|
+
<template v-if="pItem.block_type=='img'&&pItem.src!=HeroImg.src">
|
|
120
120
|
<Image :block="pItem" ></Image>
|
|
121
121
|
</template>
|
|
122
122
|
</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-Co6mVlDt.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-Co6mVlDt.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-Co6mVlDt.js';
|
|
5
5
|
import path from 'path';
|
|
6
6
|
import 'crypto';
|
|
7
7
|
import 'module';
|
|
@@ -46741,7 +46741,7 @@ function escapeHtml(string) {
|
|
|
46741
46741
|
|
|
46742
46742
|
var escape$1 = /*@__PURE__*/getDefaultExportFromCjs(escapeHtml_1);
|
|
46743
46743
|
|
|
46744
|
-
var version = "1.47.
|
|
46744
|
+
var version = "1.47.2918";
|
|
46745
46745
|
|
|
46746
46746
|
async function renderPage(render, config, page, result, appChunk, cssChunk, assets, pageToHashMap, metadataScript, additionalHeadTags) {
|
|
46747
46747
|
const routePath = `/${page.replace(/\.md$/, "")}`;
|