@sveltia/cms 0.91.7 → 0.91.8
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/README.md +25 -5
- package/dist/sveltia-cms.js +198 -198
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +188 -188
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/sveltia-cms.json +0 -4
- package/types/public.d.ts +4 -4
package/package.json
CHANGED
package/schema/sveltia-cms.json
CHANGED
|
@@ -4266,10 +4266,6 @@
|
|
|
4266
4266
|
"type": "string"
|
|
4267
4267
|
}
|
|
4268
4268
|
},
|
|
4269
|
-
"required": [
|
|
4270
|
-
"key",
|
|
4271
|
-
"value"
|
|
4272
|
-
],
|
|
4273
4269
|
"additionalProperties": false,
|
|
4274
4270
|
"description": "Property name and value template used to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link localized files when entry slugs are localized. The default property name is `translationKey` used in Hugo’s multilingual support, and the default value is the default locale’s slug. See our [README](https://github.com/sveltia/sveltia-cms#localizing-entry-slugs) for details.",
|
|
4275
4271
|
"markdownDescription": "Property name and value template used to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link localized files when entry slugs are localized. The default property name is `translationKey` used in Hugo’s multilingual support, and the default value is the default locale’s slug. See our [README](https://github.com/sveltia/sveltia-cms#localizing-entry-slugs) for details."
|
package/types/public.d.ts
CHANGED
|
@@ -1122,15 +1122,15 @@ export type I18nOptions = {
|
|
|
1122
1122
|
*/
|
|
1123
1123
|
save_all_locales?: boolean;
|
|
1124
1124
|
/**
|
|
1125
|
-
* Property name and value template
|
|
1126
|
-
* to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link
|
|
1125
|
+
* Property name and value template
|
|
1126
|
+
* used to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link
|
|
1127
1127
|
* localized files when entry slugs are localized. The default property name is `translationKey`
|
|
1128
1128
|
* used in Hugo’s multilingual support, and the default value is the default locale’s slug. See our
|
|
1129
1129
|
* [README](https://github.com/sveltia/sveltia-cms#localizing-entry-slugs) for details.
|
|
1130
1130
|
*/
|
|
1131
1131
|
canonical_slug?: {
|
|
1132
|
-
key
|
|
1133
|
-
value
|
|
1132
|
+
key?: string;
|
|
1133
|
+
value?: string;
|
|
1134
1134
|
};
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Whether to exclude the default locale
|