bearminion 1.21.0 → 1.22.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/CHANGELOG.md +18 -0
- package/README.md +2 -2
- package/dist/astro.d.ts +3 -3
- package/dist/astro.js +14 -6
- package/dist/cli.js +2 -2
- package/dist/{content-types-POybRzMX.js → content-types-46XqPaW4.js} +2 -1
- package/dist/content.d.ts +1 -1
- package/dist/content.js +2 -2
- package/dist/{editor-context-BwQzdSow.d.ts → editor-context-D1yfPp21.d.ts} +22 -4
- package/dist/{github-store-4-Y4ERBF.js → github-store-B2folBeq.js} +47 -15
- package/dist/{github-store-BVQY4d-Q.d.ts → github-store-CuhvbFCh.d.ts} +1 -1
- package/dist/hosted-astro.js +1 -1
- package/dist/{hosted-middleware-D6cd62SL.js → hosted-middleware-DHLIedeV.js} +1 -1
- package/dist/hosted-overlay.js +1 -1
- package/dist/hosted.d.ts +4 -4
- package/dist/hosted.js +6 -6
- package/dist/index.d.ts +4 -4
- package/dist/index.js +10 -6
- package/dist/{page-CcC5RRMj.js → page-C7zE_HD1.js} +5 -1
- package/dist/{page-aWKWqoh4.d.ts → page-CpVElMPH.d.ts} +24 -8
- package/dist/{request-guards-6WtQV3-a.js → request-guards-DtNVdqQ7.js} +1 -1
- package/dist/{routing-BWuJlNud.js → routing-jKeq4LwO.js} +8 -5
- package/dist/{routing-DimIRnjk.d.ts → routing-yPy8hEfZ.d.ts} +6 -2
- package/dist/{theme-DVMi1524.js → theme-DTVVNMlr.js} +1 -1
- package/dist/ui/mount.js +2886 -1205
- package/package.json +2 -2
- package/registry/default/files/src/components/seo/Seo.astro +3 -1
- package/registry/default/registry.json +3 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bearminion",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.22.0",
|
|
4
|
+
"description": "Git-based CMS for Astro. Click to edit on the page, save JSON to your repo. Start with npm create bearminion.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jakub Lange",
|
|
7
7
|
"homepage": "https://bearminion.com",
|
|
@@ -30,7 +30,9 @@ const title = site.seo.titleTemplate ? site.seo.titleTemplate.replaceAll('%s', p
|
|
|
30
30
|
const description = page.seo.description || site.seo.description || ''
|
|
31
31
|
const path = pathname.startsWith('/') ? pathname : `/${pathname}`
|
|
32
32
|
const canonical = page.seo.canonical ? resolveAgainstSite(page.seo.canonical) : new URL(path, site.url).href
|
|
33
|
-
|
|
33
|
+
// SEO › Indexing: with "Allow search engines" off (site.seo.robots false), every page asks not to be indexed.
|
|
34
|
+
const noindex = page.seo.noindex || site.seo.robots === false
|
|
35
|
+
const robots = [noindex ? 'noindex' : 'index', page.seo.nofollow ? 'nofollow' : 'follow'].join(', ')
|
|
34
36
|
const ogImageSrc = page.seo.ogImage ?? site.seo.ogImage
|
|
35
37
|
const ogImage = ogImageSrc ? absoluteImage(ogImageSrc) : undefined
|
|
36
38
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"template": "default",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.22.0",
|
|
5
5
|
"files": {
|
|
6
6
|
"src/components/atoms/Button.astro": {
|
|
7
7
|
"hash": "7be42b3dc3a3b59bec169de32a9d801904689e2705473d1945724658dc799043",
|
|
@@ -325,9 +325,10 @@
|
|
|
325
325
|
"history": []
|
|
326
326
|
},
|
|
327
327
|
"src/components/seo/Seo.astro": {
|
|
328
|
-
"hash": "
|
|
328
|
+
"hash": "de4cc22f7094d951db664b93bf2b00706136d213ec69c89e880c163a917ad17b",
|
|
329
329
|
"history": [
|
|
330
330
|
"cdb5e21b469dd225d8e9e1d5d5d6fdf1c4e697ce79d1dfac7069c2dc35cd67e4",
|
|
331
|
+
"1bcd3ee145234663a8b3a0b101d76bb31e69dc8d6d028ad9a83d328cf3536bf4",
|
|
331
332
|
"0d75bdcace1e1594fdb49e71a913f4355dc7024a9a52681e9b09922fbcd7ec2b",
|
|
332
333
|
"c8831250a574e852afdf0fbbe05aa5ec4aa90dd2a3bff04b39ad64a05bc1e14c"
|
|
333
334
|
]
|