@zabaca/lattice 1.3.8 → 1.3.9
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.
- package/dist/main.js +22 -1
- package/package.json +1 -1
- package/site-template/src/assets/clouds.png +0 -0
- package/site-template/src/assets/logo.png +0 -0
- package/site-template/src/assets/stars.png +0 -0
- package/site-template/src/assets/texture-dark.png +0 -0
- package/site-template/src/assets/texture-light.png +0 -0
- package/site-template/src/assets/twinkling.png +0 -0
- package/site-template/src/pages/404.astro +15 -0
- package/site-template/src/pages/[...slug].astro +17 -0
- package/site-template/src/pages/index.astro +6 -0
- package/site-template/src/pages/tags/[...tag].astro +15 -0
- package/site-template/src/styles/global.css +1 -0
- package/site-template/src/styles/landing.css +7 -0
package/dist/main.js
CHANGED
|
@@ -440,7 +440,19 @@ var SITE_TEMPLATE_FILES = [
|
|
|
440
440
|
"src/collections/authors.ts",
|
|
441
441
|
"src/collections/documents.ts",
|
|
442
442
|
"src/collections/tags.ts",
|
|
443
|
-
"src/plugins/rehype-strip-md-extension.ts"
|
|
443
|
+
"src/plugins/rehype-strip-md-extension.ts",
|
|
444
|
+
"src/pages/index.astro",
|
|
445
|
+
"src/pages/404.astro",
|
|
446
|
+
"src/pages/[...slug].astro",
|
|
447
|
+
"src/pages/tags/[...tag].astro",
|
|
448
|
+
"src/styles/global.css",
|
|
449
|
+
"src/styles/landing.css",
|
|
450
|
+
"src/assets/stars.png",
|
|
451
|
+
"src/assets/twinkling.png",
|
|
452
|
+
"src/assets/clouds.png",
|
|
453
|
+
"src/assets/texture-dark.png",
|
|
454
|
+
"src/assets/texture-light.png",
|
|
455
|
+
"src/assets/logo.png"
|
|
444
456
|
];
|
|
445
457
|
|
|
446
458
|
class InitCommand extends CommandRunner2 {
|
|
@@ -528,6 +540,15 @@ OBSIDIAN_VAULT_DIR=docs
|
|
|
528
540
|
await fs.mkdir(path.join(latticeHome, "src", "plugins"), {
|
|
529
541
|
recursive: true
|
|
530
542
|
});
|
|
543
|
+
await fs.mkdir(path.join(latticeHome, "src", "pages", "tags"), {
|
|
544
|
+
recursive: true
|
|
545
|
+
});
|
|
546
|
+
await fs.mkdir(path.join(latticeHome, "src", "styles"), {
|
|
547
|
+
recursive: true
|
|
548
|
+
});
|
|
549
|
+
await fs.mkdir(path.join(latticeHome, "src", "assets"), {
|
|
550
|
+
recursive: true
|
|
551
|
+
});
|
|
531
552
|
let copied = 0;
|
|
532
553
|
let skipped = 0;
|
|
533
554
|
for (const file of SITE_TEMPLATE_FILES) {
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
import { getStaticPathsFactory } from "astro-spaceship/components/404/utils/get-static-paths.ts";
|
|
3
|
+
import Page from "astro-spaceship/components/404/Page.astro";
|
|
4
|
+
|
|
5
|
+
import "@/styles/global.css";
|
|
6
|
+
import config from "astro-spaceship/config";
|
|
7
|
+
|
|
8
|
+
const getStaticPaths = getStaticPathsFactory({
|
|
9
|
+
config
|
|
10
|
+
})
|
|
11
|
+
|
|
12
|
+
const { props } = (await getStaticPaths())[0]
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Page {...props} />
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
import { getStaticPathsFactory, type Props } from "astro-spaceship/components/Article/utils/get-static-paths.ts";
|
|
3
|
+
import Page from 'astro-spaceship/components/Article/Page.astro';
|
|
4
|
+
|
|
5
|
+
import '@/styles/global.css';
|
|
6
|
+
import config from 'astro-spaceship/config';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export type { Props };
|
|
10
|
+
|
|
11
|
+
export const getStaticPaths = getStaticPathsFactory({
|
|
12
|
+
config,
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Page {...Astro.props} />
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
import { getStaticPathsFactory, type Props } from "astro-spaceship/components/Tag/utils/get-static-paths.ts";
|
|
3
|
+
import Page from 'astro-spaceship/components/Tag/Page.astro';
|
|
4
|
+
|
|
5
|
+
import '@/styles/global.css';
|
|
6
|
+
import config from 'astro-spaceship/config'
|
|
7
|
+
|
|
8
|
+
export type { Props };
|
|
9
|
+
|
|
10
|
+
export const getStaticPaths = getStaticPathsFactory({
|
|
11
|
+
config,
|
|
12
|
+
});
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Page {...Astro.props} />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "spaceship-monolith/theme";
|