Skip to content

Commit b0f0d27

Browse files
committed
docs: cleanup readme example
1 parent 89014af commit b0f0d27

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,15 @@ import {ssg, html} from "@e280/scute"
6262

6363
export default ssg.page(import.meta.url, async orb => ({
6464
title: "cool website",
65-
66-
// optional
67-
js: "main.bundle.min.js", // js module entrypoint
68-
css: "main.css", // css file injected as <style>
69-
dark: true, // disable darkreader
65+
js: "main.bundle.min.js",
66+
css: "main.css",
67+
dark: true,
7068
favicon: "/assets/favicon.png",
7169

72-
// content for your <head>
7370
head: html`
7471
<meta name="example" value="whatever"/>
7572
`,
7673

77-
// opengraph social card (optional)
7874
socialCard: {
7975
themeColor: "#8FCC8F",
8076
title: "scute",
@@ -83,7 +79,6 @@ export default ssg.page(import.meta.url, async orb => ({
8379
image: `https://e280.org/assets/e.png`,
8480
},
8581

86-
// content for your <body>
8782
body: html`
8883
<h1>incredi website</h1>
8984
`,

0 commit comments

Comments
 (0)