site-config-stack
Advanced tools
Comparing version 1.0.12 to 1.1.0
@@ -22,6 +22,2 @@ interface SiteConfig { | ||
/** | ||
* The title separator of the site. | ||
*/ | ||
titleSeparator: string; | ||
/** | ||
* Whether the site is indexable by search engines. | ||
@@ -35,2 +31,8 @@ */ | ||
/** | ||
* Current locale, set with @nuxt/i18n. | ||
* | ||
* Falls back to the defaultLocale. | ||
*/ | ||
currentLocale?: string; | ||
/** | ||
* The default locale of the site. | ||
@@ -48,2 +50,20 @@ */ | ||
/** | ||
* Configure the identity of the site. | ||
*/ | ||
identity?: { | ||
/** | ||
* Use Organization for when the site is a company, business, etc. | ||
* Use Person for when the site is a personal blog, portfolio, etc. | ||
*/ | ||
type: 'Organization' | 'Person'; | ||
}; | ||
/** | ||
* Twitter (X) profile ID. | ||
* | ||
* Used for Schema.org sameAs and <meta profile>. | ||
* | ||
* @example @harlan_zw | ||
*/ | ||
twitter?: string; | ||
/** | ||
* The mapping of the context of each site config value being set. | ||
@@ -50,0 +70,0 @@ */ |
{ | ||
"name": "site-config-stack", | ||
"type": "module", | ||
"version": "1.0.12", | ||
"version": "1.1.0", | ||
"description": "Shared site configuration utilities.", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/index.mjs" | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
} | ||
@@ -24,0 +24,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
16809
304