astro-accelerator 0.3.4 → 0.3.6
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,75 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "0.3.
|
|
3
|
-
"author": "Steve Fenton",
|
|
4
|
-
"name": "astro-accelerator",
|
|
5
|
-
"description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"astro",
|
|
8
|
-
"themes"
|
|
9
|
-
],
|
|
10
|
-
"type": "module",
|
|
11
|
-
"packageManager": "pnpm@8.7.0",
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=18.14.1",
|
|
14
|
-
"pnpm": ">=8.6.12"
|
|
15
|
-
},
|
|
16
|
-
"homepage": "https://astro.stevefenton.co.uk/",
|
|
17
|
-
"bugs": "https://github.com/Steve-Fenton/astro-accelerator/issues",
|
|
18
|
-
"license": "(Apache-2.0)",
|
|
19
|
-
"repository": {
|
|
20
|
-
"url": "https://github.com/Steve-Fenton/astro-accelerator"
|
|
21
|
-
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"img": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs",
|
|
24
|
-
"dev": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs && astro dev",
|
|
25
|
-
"stats": "node --no-experimental-fetch ./src/themes/accelerator/utilities/stats.mjs",
|
|
26
|
-
"test": "astro build && npx playwright install --with-deps && npx playwright test",
|
|
27
|
-
"build": "astro build",
|
|
28
|
-
"preview": "astro preview",
|
|
29
|
-
"astro": "astro",
|
|
30
|
-
"dts": "tsc ./tests/locate-content.js ./tests/locate-navigation.js ./tests/locate-search.js --allowJs --declaration --emitDeclarationOnly"
|
|
31
|
-
},
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"@astrojs/mdx": "^1.0.0",
|
|
34
|
-
"astro": "^3.0.5",
|
|
35
|
-
"astro-accelerator-utils": "^0.3.0",
|
|
36
|
-
"csv": "^6.3.3",
|
|
37
|
-
"hast-util-from-selector": "^3.0.0",
|
|
38
|
-
"html-to-text": "^9.0.5",
|
|
39
|
-
"keyword-extractor": "^0.0.25",
|
|
40
|
-
"remark-directive": "^2.0.1",
|
|
41
|
-
"sharp": "^0.32.5"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@playwright/test": "^1.37.1"
|
|
45
|
-
},
|
|
46
|
-
"files": [
|
|
47
|
-
".npmrc",
|
|
48
|
-
"env.d.ts",
|
|
49
|
-
"tsconfig.json",
|
|
50
|
-
"astro.config.mjs",
|
|
51
|
-
"sample/*",
|
|
52
|
-
"sample/**/*",
|
|
53
|
-
"src/config.ts",
|
|
54
|
-
"src/pages/index.md",
|
|
55
|
-
"src/pages/search.md",
|
|
56
|
-
"src/pages/authors/[[]author[]]/[[]page[]].astro",
|
|
57
|
-
"src/pages/articles/[[]page[]].astro",
|
|
58
|
-
"src/pages/articles/index.astro",
|
|
59
|
-
"src/pages/articles/feed.xml.ts",
|
|
60
|
-
"src/pages/category/[[]category[]]/[[]page[]].astro",
|
|
61
|
-
"src/pages/category/[[]category[]]/index.astro",
|
|
62
|
-
"src/pages/tag/[[]tag[]]/[[]page[]].astro",
|
|
63
|
-
"src/pages/tag/[[]tag[]]/index.astro",
|
|
64
|
-
"src/pages/search.json.ts",
|
|
65
|
-
"src/pages/sitemap.xml.ts",
|
|
66
|
-
"src/pages/report/*",
|
|
67
|
-
"src/layouts/*",
|
|
68
|
-
"src/themes/**/*",
|
|
69
|
-
"src/data/*",
|
|
70
|
-
"public/img/astro-lighthouse.png",
|
|
71
|
-
"public/icons/**/*",
|
|
72
|
-
"public/css/**/*",
|
|
73
|
-
"public/js/**/*"
|
|
74
|
-
]
|
|
75
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"version": "0.3.6",
|
|
3
|
+
"author": "Steve Fenton",
|
|
4
|
+
"name": "astro-accelerator",
|
|
5
|
+
"description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"astro",
|
|
8
|
+
"themes"
|
|
9
|
+
],
|
|
10
|
+
"type": "module",
|
|
11
|
+
"packageManager": "pnpm@8.7.0",
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=18.14.1",
|
|
14
|
+
"pnpm": ">=8.6.12"
|
|
15
|
+
},
|
|
16
|
+
"homepage": "https://astro.stevefenton.co.uk/",
|
|
17
|
+
"bugs": "https://github.com/Steve-Fenton/astro-accelerator/issues",
|
|
18
|
+
"license": "(Apache-2.0)",
|
|
19
|
+
"repository": {
|
|
20
|
+
"url": "https://github.com/Steve-Fenton/astro-accelerator"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"img": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs",
|
|
24
|
+
"dev": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs && astro dev",
|
|
25
|
+
"stats": "node --no-experimental-fetch ./src/themes/accelerator/utilities/stats.mjs",
|
|
26
|
+
"test": "astro build && npx playwright install --with-deps && npx playwright test",
|
|
27
|
+
"build": "astro build",
|
|
28
|
+
"preview": "astro preview",
|
|
29
|
+
"astro": "astro",
|
|
30
|
+
"dts": "tsc ./tests/locate-content.js ./tests/locate-navigation.js ./tests/locate-search.js --allowJs --declaration --emitDeclarationOnly"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@astrojs/mdx": "^1.0.0",
|
|
34
|
+
"astro": "^3.0.5",
|
|
35
|
+
"astro-accelerator-utils": "^0.3.0",
|
|
36
|
+
"csv": "^6.3.3",
|
|
37
|
+
"hast-util-from-selector": "^3.0.0",
|
|
38
|
+
"html-to-text": "^9.0.5",
|
|
39
|
+
"keyword-extractor": "^0.0.25",
|
|
40
|
+
"remark-directive": "^2.0.1",
|
|
41
|
+
"sharp": "^0.32.5"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@playwright/test": "^1.37.1"
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
".npmrc",
|
|
48
|
+
"env.d.ts",
|
|
49
|
+
"tsconfig.json",
|
|
50
|
+
"astro.config.mjs",
|
|
51
|
+
"sample/*",
|
|
52
|
+
"sample/**/*",
|
|
53
|
+
"src/config.ts",
|
|
54
|
+
"src/pages/index.md",
|
|
55
|
+
"src/pages/search.md",
|
|
56
|
+
"src/pages/authors/[[]author[]]/[[]page[]].astro",
|
|
57
|
+
"src/pages/articles/[[]page[]].astro",
|
|
58
|
+
"src/pages/articles/index.astro",
|
|
59
|
+
"src/pages/articles/feed.xml.ts",
|
|
60
|
+
"src/pages/category/[[]category[]]/[[]page[]].astro",
|
|
61
|
+
"src/pages/category/[[]category[]]/index.astro",
|
|
62
|
+
"src/pages/tag/[[]tag[]]/[[]page[]].astro",
|
|
63
|
+
"src/pages/tag/[[]tag[]]/index.astro",
|
|
64
|
+
"src/pages/search.json.ts",
|
|
65
|
+
"src/pages/sitemap.xml.ts",
|
|
66
|
+
"src/pages/report/*",
|
|
67
|
+
"src/layouts/*",
|
|
68
|
+
"src/themes/**/*",
|
|
69
|
+
"src/data/*",
|
|
70
|
+
"public/img/astro-lighthouse.png",
|
|
71
|
+
"public/icons/**/*",
|
|
72
|
+
"public/css/**/*",
|
|
73
|
+
"public/js/**/*"
|
|
74
|
+
]
|
|
75
|
+
}
|
package/public/css/main.css
CHANGED
|
@@ -251,11 +251,13 @@ nav.skip-links a:focus {
|
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
.site-breadcrumbs li::before {
|
|
254
|
-
content: '>'
|
|
254
|
+
content: '>';
|
|
255
|
+
margin-inline-end: 0.3em;
|
|
255
256
|
}
|
|
256
257
|
|
|
257
258
|
.site-breadcrumbs li:first-child::before {
|
|
258
|
-
content: ''
|
|
259
|
+
content: '';
|
|
260
|
+
margin-inline-end: 0;
|
|
259
261
|
}
|
|
260
262
|
|
|
261
263
|
.site-breadcrumbs a[aria-current] {
|
|
@@ -528,23 +530,23 @@ nav.site-nav h2 {
|
|
|
528
530
|
}
|
|
529
531
|
|
|
530
532
|
.page-toc li.toc-lev-2 {
|
|
531
|
-
|
|
533
|
+
margin-left: 0rem;
|
|
532
534
|
}
|
|
533
535
|
|
|
534
536
|
.page-toc li.toc-lev-3 a {
|
|
535
|
-
|
|
537
|
+
margin-left: 1rem;
|
|
536
538
|
}
|
|
537
539
|
|
|
538
540
|
.page-toc li.toc-lev-4 a {
|
|
539
|
-
|
|
541
|
+
margin-left: 2rem;
|
|
540
542
|
}
|
|
541
543
|
|
|
542
544
|
.page-toc li.toc-lev-5 a {
|
|
543
|
-
|
|
545
|
+
margin-left: 3rem;
|
|
544
546
|
}
|
|
545
547
|
|
|
546
548
|
.page-toc li.toc-lev-6 a {
|
|
547
|
-
|
|
549
|
+
margin-left: 4rem;
|
|
548
550
|
}
|
|
549
551
|
|
|
550
552
|
/* Footer */
|
|
@@ -43,7 +43,7 @@ stats.stop();
|
|
|
43
43
|
/>
|
|
44
44
|
}
|
|
45
45
|
<div class="author-info">
|
|
46
|
-
<span class="author-list">{ _(Translations.post.written_by) }
|
|
46
|
+
<span class="author-list">{ _(Translations.post.written_by) + ' ' }
|
|
47
47
|
{authorList.mainAuthor &&
|
|
48
48
|
<span itemprop="author" itemscope itemtype="https://schema.org/Person"><a href={ accelerator.urlFormatter.formatAddress(authorList.mainAuthor.url) + '1/' } itemprop="url"><span itemprop="name">{ authorList.mainAuthor.frontmatter.title }</span></a></span>
|
|
49
49
|
}{authorList.contributors.map((writer) => (
|
|
@@ -26,7 +26,7 @@ stats.stop();
|
|
|
26
26
|
{authorList.writers.length > 0 &&
|
|
27
27
|
<div class="post-meta">
|
|
28
28
|
<div class="author-info">
|
|
29
|
-
<span>{ _(Translations.post.written_by) }
|
|
29
|
+
<span>{ _(Translations.post.written_by) + ' ' }
|
|
30
30
|
{authorList.mainAuthor &&
|
|
31
31
|
<span>{ authorList.mainAuthor.frontmatter.title }</span>
|
|
32
32
|
}{authorList.contributors.map((writer) => (
|
|
@@ -78,7 +78,7 @@ stats.stop();
|
|
|
78
78
|
<h3>
|
|
79
79
|
<a href={ accelerator.urlFormatter.formatAddress(post.url) }>{ post.frontmatter.title }</a>
|
|
80
80
|
</h3>
|
|
81
|
-
<AuthorsMini lang={ lang } frontmatter={ post.frontmatter
|
|
81
|
+
<AuthorsMini lang={ lang } frontmatter={ post.frontmatter as Frontmatter } />
|
|
82
82
|
</div>
|
|
83
83
|
</article>
|
|
84
84
|
</li>
|