@turnipxenon/pineapple 2.5.0 → 2.6.0
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/.idea/codeStyles/Project.xml +0 -2
- package/.idea/workspace.xml +26 -26
- package/.svelte-kit/__package__/components/blog_template/BlogTemplate.svelte +2 -2
- package/.svelte-kit/__package__/components/blog_template/BlogTemplateInner.svelte +36 -36
- package/.svelte-kit/__package__/template/seaweed/SeaweedTemplate.svelte +1 -1
- package/.svelte-kit/ambient.d.ts +4 -0
- package/.svelte-kit/generated/server/internal.js +1 -1
- package/dist/components/blog_template/BlogTemplate.svelte +2 -2
- package/dist/components/blog_template/BlogTemplateInner.svelte +36 -36
- package/dist/template/seaweed/SeaweedTemplate.svelte +1 -1
- package/package.json +1 -1
- package/src/lib/components/blog_template/BlogTemplate.svelte +2 -2
- package/src/lib/components/blog_template/BlogTemplateInner.svelte +40 -40
- package/src/lib/template/seaweed/SeaweedTemplate.svelte +1 -1
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
11
11
|
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
12
12
|
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
|
13
|
-
<option name="USE_EXPLICIT_JS_EXTENSION" value="FALSE" />
|
|
14
13
|
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
15
14
|
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
16
15
|
</JSCodeStyleSettings>
|
|
@@ -23,7 +22,6 @@
|
|
|
23
22
|
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
24
23
|
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
25
24
|
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
|
26
|
-
<option name="USE_EXPLICIT_JS_EXTENSION" value="FALSE" />
|
|
27
25
|
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
28
26
|
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
29
27
|
<option name="IMPORT_USE_NODE_RESOLUTION" value="GLOBAL" />
|
package/.idea/workspace.xml
CHANGED
|
@@ -4,10 +4,8 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="">
|
|
8
|
-
<change afterPath="$PROJECT_DIR$/src/lib/
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/src/lib/components/blog_template/BlogTemplate.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/components/blog_template/BlogTemplate.svelte" afterDir="false" />
|
|
10
|
-
<change beforePath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/(extra-pages)/page2/+page.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/(extra-pages)/page2/+page.svelte" afterDir="false" />
|
|
7
|
+
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Fix background disappearing in default BlogTemplates">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" afterDir="false" />
|
|
11
9
|
</list>
|
|
12
10
|
<option name="SHOW_DIALOG" value="false" />
|
|
13
11
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -216,7 +214,7 @@
|
|
|
216
214
|
<component name="SharedIndexes">
|
|
217
215
|
<attachedChunks>
|
|
218
216
|
<set>
|
|
219
|
-
<option value="bundled-js-predefined-1d06a55b98c1-
|
|
217
|
+
<option value="bundled-js-predefined-1d06a55b98c1-0b3e54e931b4-JavaScript-WS-241.17011.90" />
|
|
220
218
|
</set>
|
|
221
219
|
</attachedChunks>
|
|
222
220
|
</component>
|
|
@@ -394,23 +392,9 @@
|
|
|
394
392
|
<workItem from="1714369536254" duration="132000" />
|
|
395
393
|
<workItem from="1714369851969" duration="201000" />
|
|
396
394
|
<workItem from="1714521686105" duration="268000" />
|
|
397
|
-
<workItem from="1714761186955" duration="
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
<option name="closed" value="true" />
|
|
401
|
-
<created>1712474458161</created>
|
|
402
|
-
<option name="number" value="00156" />
|
|
403
|
-
<option name="presentableId" value="LOCAL-00156" />
|
|
404
|
-
<option name="project" value="LOCAL" />
|
|
405
|
-
<updated>1712474458161</updated>
|
|
406
|
-
</task>
|
|
407
|
-
<task id="LOCAL-00157" summary="Fix removeProxyWrapperOnString">
|
|
408
|
-
<option name="closed" value="true" />
|
|
409
|
-
<created>1712475111869</created>
|
|
410
|
-
<option name="number" value="00157" />
|
|
411
|
-
<option name="presentableId" value="LOCAL-00157" />
|
|
412
|
-
<option name="project" value="LOCAL" />
|
|
413
|
-
<updated>1712475111869</updated>
|
|
395
|
+
<workItem from="1714761186955" duration="2937000" />
|
|
396
|
+
<workItem from="1714785291683" duration="29000" />
|
|
397
|
+
<workItem from="1717797301446" duration="56000" />
|
|
414
398
|
</task>
|
|
415
399
|
<task id="LOCAL-00158" summary="Remove unneeded script check in yarn build">
|
|
416
400
|
<option name="closed" value="true" />
|
|
@@ -788,7 +772,23 @@
|
|
|
788
772
|
<option name="project" value="LOCAL" />
|
|
789
773
|
<updated>1714369583643</updated>
|
|
790
774
|
</task>
|
|
791
|
-
<
|
|
775
|
+
<task id="LOCAL-00205" summary="Add plain background BlogTemplates">
|
|
776
|
+
<option name="closed" value="true" />
|
|
777
|
+
<created>1714763027973</created>
|
|
778
|
+
<option name="number" value="00205" />
|
|
779
|
+
<option name="presentableId" value="LOCAL-00205" />
|
|
780
|
+
<option name="project" value="LOCAL" />
|
|
781
|
+
<updated>1714763027973</updated>
|
|
782
|
+
</task>
|
|
783
|
+
<task id="LOCAL-00206" summary="Fix background disappearing in default BlogTemplates">
|
|
784
|
+
<option name="closed" value="true" />
|
|
785
|
+
<created>1714763326650</created>
|
|
786
|
+
<option name="number" value="00206" />
|
|
787
|
+
<option name="presentableId" value="LOCAL-00206" />
|
|
788
|
+
<option name="project" value="LOCAL" />
|
|
789
|
+
<updated>1714763326650</updated>
|
|
790
|
+
</task>
|
|
791
|
+
<option name="localTasksCounter" value="207" />
|
|
792
792
|
<servers />
|
|
793
793
|
</component>
|
|
794
794
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -846,8 +846,6 @@
|
|
|
846
846
|
</option>
|
|
847
847
|
</component>
|
|
848
848
|
<component name="VcsManagerConfiguration">
|
|
849
|
-
<MESSAGE value="WIP attempt to fix slider" />
|
|
850
|
-
<MESSAGE value="Add hideable upper controls for NavigationComponent" />
|
|
851
849
|
<MESSAGE value="Add default value for allowUpperControl in NavigationComponent" />
|
|
852
850
|
<MESSAGE value="Add ChumBucket" />
|
|
853
851
|
<MESSAGE value="Fix align-items" />
|
|
@@ -871,6 +869,8 @@
|
|
|
871
869
|
<MESSAGE value="Update default styling for blogs" />
|
|
872
870
|
<MESSAGE value="Reduce margin bottom for default blog paragraphs" />
|
|
873
871
|
<MESSAGE value="Attempt for whole blog page" />
|
|
874
|
-
<
|
|
872
|
+
<MESSAGE value="Add plain background BlogTemplates" />
|
|
873
|
+
<MESSAGE value="Fix background disappearing in default BlogTemplates" />
|
|
874
|
+
<option name="LAST_COMMIT_MESSAGE" value="Fix background disappearing in default BlogTemplates" />
|
|
875
875
|
</component>
|
|
876
876
|
</project>
|
|
@@ -6,11 +6,11 @@ import BlogTemplateInner from "./BlogTemplateInner.svelte";
|
|
|
6
6
|
export let pageMeta;
|
|
7
7
|
export let shouldFillWholePage = false;
|
|
8
8
|
export let shouldEnableDialogOverlay = false;
|
|
9
|
-
enableBackground.set(
|
|
9
|
+
enableBackground.set(!shouldFillWholePage);
|
|
10
10
|
let initialDialogState = false;
|
|
11
11
|
onMount(() => {
|
|
12
12
|
initialDialogState = $enableDialogueOverlay;
|
|
13
|
-
enableDialogueOverlay.set(
|
|
13
|
+
enableDialogueOverlay.set(shouldEnableDialogOverlay);
|
|
14
14
|
});
|
|
15
15
|
onDestroy(() => {
|
|
16
16
|
enableBackground.set(true);
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
<script>export let pageMeta;
|
|
2
|
-
</script>
|
|
3
|
-
|
|
4
|
-
<article>
|
|
5
|
-
<hgroup>
|
|
6
|
-
{#if pageMeta.title}
|
|
7
|
-
<h1>{pageMeta.title}</h1>
|
|
8
|
-
{/if}
|
|
9
|
-
{#if pageMeta.datePublished}
|
|
10
|
-
<p>Published: {pageMeta.datePublished}</p>
|
|
11
|
-
{/if}
|
|
12
|
-
{#if pageMeta.lastUpdated}
|
|
13
|
-
<p>Last updated: {pageMeta.lastUpdated}</p>
|
|
14
|
-
{/if}
|
|
15
|
-
{#if pageMeta.tags.length > 0}
|
|
16
|
-
<section id="article-tags">
|
|
17
|
-
Tags:
|
|
18
|
-
{#each pageMeta.tags as tag}
|
|
19
|
-
<span class="badge variant-filled">{tag}</span>
|
|
20
|
-
{/each}
|
|
21
|
-
</section>
|
|
22
|
-
{/if}
|
|
23
|
-
</hgroup>
|
|
24
|
-
|
|
25
|
-
<div class="article-content">
|
|
26
|
-
<slot />
|
|
27
|
-
</div>
|
|
28
|
-
</article>
|
|
29
|
-
|
|
30
|
-
<style>
|
|
31
|
-
hgroup {
|
|
32
|
-
margin-bottom: 1lh;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.badge {
|
|
36
|
-
margin-inline-end: 0.5em;
|
|
37
|
-
}
|
|
2
|
+
</script>
|
|
3
|
+
|
|
4
|
+
<article>
|
|
5
|
+
<hgroup>
|
|
6
|
+
{#if pageMeta.title}
|
|
7
|
+
<h1>{pageMeta.title}</h1>
|
|
8
|
+
{/if}
|
|
9
|
+
{#if pageMeta.datePublished}
|
|
10
|
+
<p>Published: {pageMeta.datePublished}</p>
|
|
11
|
+
{/if}
|
|
12
|
+
{#if pageMeta.lastUpdated}
|
|
13
|
+
<p>Last updated: {pageMeta.lastUpdated}</p>
|
|
14
|
+
{/if}
|
|
15
|
+
{#if pageMeta.tags.length > 0}
|
|
16
|
+
<section id="article-tags">
|
|
17
|
+
Tags:
|
|
18
|
+
{#each pageMeta.tags as tag}
|
|
19
|
+
<span class="badge variant-filled">{tag}</span>
|
|
20
|
+
{/each}
|
|
21
|
+
</section>
|
|
22
|
+
{/if}
|
|
23
|
+
</hgroup>
|
|
24
|
+
|
|
25
|
+
<div class="article-content">
|
|
26
|
+
<slot />
|
|
27
|
+
</div>
|
|
28
|
+
</article>
|
|
29
|
+
|
|
30
|
+
<style>
|
|
31
|
+
hgroup {
|
|
32
|
+
margin-bottom: 1lh;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.badge {
|
|
36
|
+
margin-inline-end: 0.5em;
|
|
37
|
+
}
|
|
38
38
|
</style>
|
package/.svelte-kit/ambient.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ declare module '$env/static/private' {
|
|
|
37
37
|
export const COMSPEC: string;
|
|
38
38
|
export const DriverData: string;
|
|
39
39
|
export const EXEPATH: string;
|
|
40
|
+
export const FPS_BROWSER_APP_PROFILE_STRING: string;
|
|
41
|
+
export const FPS_BROWSER_USER_PROFILE_STRING: string;
|
|
40
42
|
export const GIT_XL_PATH: string;
|
|
41
43
|
export const GoLand: string;
|
|
42
44
|
export const GOPATH: string;
|
|
@@ -225,6 +227,8 @@ declare module '$env/dynamic/private' {
|
|
|
225
227
|
COMSPEC: string;
|
|
226
228
|
DriverData: string;
|
|
227
229
|
EXEPATH: string;
|
|
230
|
+
FPS_BROWSER_APP_PROFILE_STRING: string;
|
|
231
|
+
FPS_BROWSER_USER_PROFILE_STRING: string;
|
|
228
232
|
GIT_XL_PATH: string;
|
|
229
233
|
GoLand: string;
|
|
230
234
|
GOPATH: string;
|
|
@@ -21,7 +21,7 @@ export const options = {
|
|
|
21
21
|
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width\" />\n\t\t" + head + "\n\t</head>\n\n\t<body data-sveltekit-preload-data=\"hover\" data-theme=\"crimson\">\n\t\t<div style=\"display: contents\" class=\"h-full overflow-hidden\">" + body + "</div>\n\t</body>\n</html>\n",
|
|
22
22
|
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
23
23
|
},
|
|
24
|
-
version_hash: "
|
|
24
|
+
version_hash: "1osvtww"
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export async function get_hooks() {
|
|
@@ -6,11 +6,11 @@ import BlogTemplateInner from "./BlogTemplateInner.svelte";
|
|
|
6
6
|
export let pageMeta;
|
|
7
7
|
export let shouldFillWholePage = false;
|
|
8
8
|
export let shouldEnableDialogOverlay = false;
|
|
9
|
-
enableBackground.set(
|
|
9
|
+
enableBackground.set(!shouldFillWholePage);
|
|
10
10
|
let initialDialogState = false;
|
|
11
11
|
onMount(() => {
|
|
12
12
|
initialDialogState = $enableDialogueOverlay;
|
|
13
|
-
enableDialogueOverlay.set(
|
|
13
|
+
enableDialogueOverlay.set(shouldEnableDialogOverlay);
|
|
14
14
|
});
|
|
15
15
|
onDestroy(() => {
|
|
16
16
|
enableBackground.set(true);
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
<script>export let pageMeta;
|
|
2
|
-
</script>
|
|
3
|
-
|
|
4
|
-
<article>
|
|
5
|
-
<hgroup>
|
|
6
|
-
{#if pageMeta.title}
|
|
7
|
-
<h1>{pageMeta.title}</h1>
|
|
8
|
-
{/if}
|
|
9
|
-
{#if pageMeta.datePublished}
|
|
10
|
-
<p>Published: {pageMeta.datePublished}</p>
|
|
11
|
-
{/if}
|
|
12
|
-
{#if pageMeta.lastUpdated}
|
|
13
|
-
<p>Last updated: {pageMeta.lastUpdated}</p>
|
|
14
|
-
{/if}
|
|
15
|
-
{#if pageMeta.tags.length > 0}
|
|
16
|
-
<section id="article-tags">
|
|
17
|
-
Tags:
|
|
18
|
-
{#each pageMeta.tags as tag}
|
|
19
|
-
<span class="badge variant-filled">{tag}</span>
|
|
20
|
-
{/each}
|
|
21
|
-
</section>
|
|
22
|
-
{/if}
|
|
23
|
-
</hgroup>
|
|
24
|
-
|
|
25
|
-
<div class="article-content">
|
|
26
|
-
<slot />
|
|
27
|
-
</div>
|
|
28
|
-
</article>
|
|
29
|
-
|
|
30
|
-
<style>
|
|
31
|
-
hgroup {
|
|
32
|
-
margin-bottom: 1lh;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.badge {
|
|
36
|
-
margin-inline-end: 0.5em;
|
|
37
|
-
}
|
|
2
|
+
</script>
|
|
3
|
+
|
|
4
|
+
<article>
|
|
5
|
+
<hgroup>
|
|
6
|
+
{#if pageMeta.title}
|
|
7
|
+
<h1>{pageMeta.title}</h1>
|
|
8
|
+
{/if}
|
|
9
|
+
{#if pageMeta.datePublished}
|
|
10
|
+
<p>Published: {pageMeta.datePublished}</p>
|
|
11
|
+
{/if}
|
|
12
|
+
{#if pageMeta.lastUpdated}
|
|
13
|
+
<p>Last updated: {pageMeta.lastUpdated}</p>
|
|
14
|
+
{/if}
|
|
15
|
+
{#if pageMeta.tags.length > 0}
|
|
16
|
+
<section id="article-tags">
|
|
17
|
+
Tags:
|
|
18
|
+
{#each pageMeta.tags as tag}
|
|
19
|
+
<span class="badge variant-filled">{tag}</span>
|
|
20
|
+
{/each}
|
|
21
|
+
</section>
|
|
22
|
+
{/if}
|
|
23
|
+
</hgroup>
|
|
24
|
+
|
|
25
|
+
<div class="article-content">
|
|
26
|
+
<slot />
|
|
27
|
+
</div>
|
|
28
|
+
</article>
|
|
29
|
+
|
|
30
|
+
<style>
|
|
31
|
+
hgroup {
|
|
32
|
+
margin-bottom: 1lh;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.badge {
|
|
36
|
+
margin-inline-end: 0.5em;
|
|
37
|
+
}
|
|
38
38
|
</style>
|
package/package.json
CHANGED
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
export let shouldFillWholePage = false;
|
|
11
11
|
export let shouldEnableDialogOverlay = false;
|
|
12
12
|
|
|
13
|
-
enableBackground.set(
|
|
13
|
+
enableBackground.set(!shouldFillWholePage);
|
|
14
14
|
let initialDialogState = false;
|
|
15
15
|
|
|
16
16
|
onMount(() => {
|
|
17
17
|
initialDialogState = $enableDialogueOverlay;
|
|
18
|
-
enableDialogueOverlay.set(
|
|
18
|
+
enableDialogueOverlay.set(shouldEnableDialogOverlay);
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
onDestroy(() => {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { SimplePageMeta } from "$pkg";
|
|
3
|
-
|
|
4
|
-
export let pageMeta: SimplePageMeta;
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<article>
|
|
8
|
-
<hgroup>
|
|
9
|
-
{#if pageMeta.title}
|
|
10
|
-
<h1>{pageMeta.title}</h1>
|
|
11
|
-
{/if}
|
|
12
|
-
{#if pageMeta.datePublished}
|
|
13
|
-
<p>Published: {pageMeta.datePublished}</p>
|
|
14
|
-
{/if}
|
|
15
|
-
{#if pageMeta.lastUpdated}
|
|
16
|
-
<p>Last updated: {pageMeta.lastUpdated}</p>
|
|
17
|
-
{/if}
|
|
18
|
-
{#if pageMeta.tags.length > 0}
|
|
19
|
-
<section id="article-tags">
|
|
20
|
-
Tags:
|
|
21
|
-
{#each pageMeta.tags as tag}
|
|
22
|
-
<span class="badge variant-filled">{tag}</span>
|
|
23
|
-
{/each}
|
|
24
|
-
</section>
|
|
25
|
-
{/if}
|
|
26
|
-
</hgroup>
|
|
27
|
-
|
|
28
|
-
<div class="article-content">
|
|
29
|
-
<slot />
|
|
30
|
-
</div>
|
|
31
|
-
</article>
|
|
32
|
-
|
|
33
|
-
<style>
|
|
34
|
-
hgroup {
|
|
35
|
-
margin-bottom: 1lh;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.badge {
|
|
39
|
-
margin-inline-end: 0.5em;
|
|
40
|
-
}
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { SimplePageMeta } from "$pkg";
|
|
3
|
+
|
|
4
|
+
export let pageMeta: SimplePageMeta;
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<article>
|
|
8
|
+
<hgroup>
|
|
9
|
+
{#if pageMeta.title}
|
|
10
|
+
<h1>{pageMeta.title}</h1>
|
|
11
|
+
{/if}
|
|
12
|
+
{#if pageMeta.datePublished}
|
|
13
|
+
<p>Published: {pageMeta.datePublished}</p>
|
|
14
|
+
{/if}
|
|
15
|
+
{#if pageMeta.lastUpdated}
|
|
16
|
+
<p>Last updated: {pageMeta.lastUpdated}</p>
|
|
17
|
+
{/if}
|
|
18
|
+
{#if pageMeta.tags.length > 0}
|
|
19
|
+
<section id="article-tags">
|
|
20
|
+
Tags:
|
|
21
|
+
{#each pageMeta.tags as tag}
|
|
22
|
+
<span class="badge variant-filled">{tag}</span>
|
|
23
|
+
{/each}
|
|
24
|
+
</section>
|
|
25
|
+
{/if}
|
|
26
|
+
</hgroup>
|
|
27
|
+
|
|
28
|
+
<div class="article-content">
|
|
29
|
+
<slot />
|
|
30
|
+
</div>
|
|
31
|
+
</article>
|
|
32
|
+
|
|
33
|
+
<style>
|
|
34
|
+
hgroup {
|
|
35
|
+
margin-bottom: 1lh;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.badge {
|
|
39
|
+
margin-inline-end: 0.5em;
|
|
40
|
+
}
|
|
41
41
|
</style>
|