create-riebeckite 0.0.31 → 0.0.32

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/src/index.js CHANGED
@@ -576,8 +576,7 @@ var gardenExplorer = np(
576
576
  var ux = np("@riebeckite/plugin-ux", "uxPlugin", {
577
577
  progress: { depth: 2, value: "true" },
578
578
  backToTop: { depth: 2, value: "true" },
579
- tocScrollSpy: { depth: 2, value: "true" },
580
- codeCopy: { depth: 3, value: "true" }
579
+ tocScrollSpy: { depth: 2, value: "true" }
581
580
  });
582
581
  var dailyNotes = np(
583
582
  "@riebeckite/plugin-daily-notes",
@@ -3318,7 +3317,7 @@ function copyPasteDemoLines(preset, words, language) {
3318
3317
  }
3319
3318
 
3320
3319
  // src/scaffold/version.ts
3321
- var RIEBECKITE_VERSION = "^0.0.31";
3320
+ var RIEBECKITE_VERSION = "^0.0.32";
3322
3321
 
3323
3322
  // src/scaffold/templates.ts
3324
3323
  function siteTemplateFiles(preset, variables, options = {}) {
@@ -576,8 +576,7 @@ var gardenExplorer = np(
576
576
  var ux = np("@riebeckite/plugin-ux", "uxPlugin", {
577
577
  progress: { depth: 2, value: "true" },
578
578
  backToTop: { depth: 2, value: "true" },
579
- tocScrollSpy: { depth: 2, value: "true" },
580
- codeCopy: { depth: 3, value: "true" }
579
+ tocScrollSpy: { depth: 2, value: "true" }
581
580
  });
582
581
  var dailyNotes = np(
583
582
  "@riebeckite/plugin-daily-notes",
@@ -2965,7 +2964,7 @@ function utilityTemplateFiles(utilities) {
2965
2964
  }
2966
2965
 
2967
2966
  // src/scaffold/version.ts
2968
- var RIEBECKITE_VERSION = "^0.0.31";
2967
+ var RIEBECKITE_VERSION = "^0.0.32";
2969
2968
 
2970
2969
  // src/scaffold/templates.ts
2971
2970
  function siteTemplateFiles(preset, variables, options = {}) {
@@ -1 +1 @@
1
- export declare const RIEBECKITE_VERSION = "^0.0.31";
1
+ export declare const RIEBECKITE_VERSION = "^0.0.32";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-riebeckite",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "esbuild": "^0.28.2",
42
- "@riebeckite/test": "0.0.31"
42
+ "@riebeckite/test": "0.0.32"
43
43
  },
44
44
  "repository": {
45
45
  "type": "git",
@@ -4,14 +4,14 @@ const handler = (c: Context) => {
4
4
  c.status(404);
5
5
 
6
6
  return c.render(
7
- <main class="not-found">
7
+ <div class="not-found">
8
8
  <p class="not-found__status">404</p>
9
9
  <h1>Page not found</h1>
10
10
  <p>The page you requested does not exist or is not available.</p>
11
11
  <p>
12
12
  <a href="/">Back to home</a>
13
13
  </p>
14
- </main>,
14
+ </div>,
15
15
  );
16
16
  };
17
17
 
@@ -25,7 +25,11 @@ export default jsxRenderer(async ({ children }, c) => {
25
25
  <head>
26
26
  <RiebeckiteHead colorModeScript={false} />
27
27
  </head>
28
- <body class="riebeckite-page rb-site">{children}</body>
28
+ <body class="riebeckite-page rb-site">
29
+ <main id="main-content" tabindex={-1} class="riebeckite-main">
30
+ {children}
31
+ </main>
32
+ </body>
29
33
  </ThemeRoot>
30
34
  </SiteProvider>
31
35
  );
@@ -3,9 +3,9 @@ import { config } from "virtual:riebeckite/config";
3
3
 
4
4
  export default createRoute((c) =>
5
5
  c.render(
6
- <main class="riebeckite-empty">
6
+ <div class="riebeckite-empty">
7
7
  <h1>{config.site.title}</h1>
8
8
  <p>This is a blank Riebeckite site. Add Markdown files under content/ to get started.</p>
9
- </main>,
9
+ </div>,
10
10
  ),
11
11
  );
@@ -4,14 +4,14 @@ const handler = (c: Context) => {
4
4
  c.status(404);
5
5
 
6
6
  return c.render(
7
- <main class="not-found">
7
+ <div class="not-found">
8
8
  <p class="not-found__status">404</p>
9
9
  <h1>Page not found</h1>
10
10
  <p>The page you requested does not exist or is not available.</p>
11
11
  <p>
12
12
  <a href="/">Back to home</a>
13
13
  </p>
14
- </main>,
14
+ </div>,
15
15
  );
16
16
  };
17
17
 
@@ -25,7 +25,11 @@ export default jsxRenderer(async ({ children }, c) => {
25
25
  <head>
26
26
  <RiebeckiteHead colorModeScript={false} />
27
27
  </head>
28
- <body class="riebeckite-page rb-site">{children}</body>
28
+ <body class="riebeckite-page rb-site">
29
+ <main id="main-content" tabindex={-1} class="riebeckite-main">
30
+ {children}
31
+ </main>
32
+ </body>
29
33
  </ThemeRoot>
30
34
  </SiteProvider>
31
35
  );