astro-accelerator 0.0.90 → 0.0.92

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.90",
2
+ "version": "0.0.92",
3
3
  "author": "Steve Fenton",
4
4
  "name": "astro-accelerator",
5
5
  "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
package/public/js/main.js CHANGED
@@ -35,6 +35,11 @@ function enabled(settings, option) {
35
35
  && settings.includes(option);
36
36
  }
37
37
 
38
+ if (enabled(f.details, 'tabs')) {
39
+ const tabs = await import('./modules/detail-tabs.js');
40
+ tabs.enhanceDetailGroups();
41
+ }
42
+
38
43
  if (enabled(f.youTubeLinks, 'embed')) {
39
44
  const youTube = await import('./modules/youtube.js');
40
45
  youTube.enhanceYoutubeLinks();
@@ -54,8 +59,3 @@ if (enabled(f.headers, 'link')) {
54
59
  const headers = await import('./modules/headers.js');
55
60
  headers.enhanceHeaders();
56
61
  }
57
-
58
- if (enabled(f.details, 'tabs')) {
59
- const tabs = await import('./modules/detail-tabs.js');
60
- tabs.enhanceDetailGroups();
61
- }
@@ -8,6 +8,7 @@ type Props = {
8
8
  };
9
9
  const { lang, page } = Astro.props satisfies Props;
10
10
  ---
11
+ {page.children.length > 0 && (
11
12
  <div class="footer-column">
12
13
  <h2><Fragment set:html={page.title} /></h2>
13
14
  <ul>
@@ -17,4 +18,5 @@ const { lang, page } = Astro.props satisfies Props;
17
18
  </li>
18
19
  ))}
19
20
  </ul>
20
- </div>
21
+ </div>
22
+ )}