Chore: Upgrade to AIK
& Massive Overhaul to internal processing #78
|
@ -59,7 +59,20 @@ import GhostCMS from '@matthiesenxyz/astro-ghostcms';
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: "https://YOUR-DOMAIN-HERE.com"
|
site: "https://YOUR-DOMAIN-HERE.com"
|
||||||
integrations: [GhostCMS()],
|
integrations: [
|
||||||
|
GhostCMS({
|
||||||
|
// Config Options
|
||||||
|
ghostURL: "http://example.com"; // Recommended to set here, Can also set in .env as CONTENT_API_URL
|
||||||
|
disableThemeProvider: false; // OPTIONAL - Default False
|
||||||
|
ThemeProvider: { // Allows you to pass config options to our ThemeProvider if enabled.
|
||||||
|
|||||||
|
theme: "@matthiesenxyz/astro-ghostcms-theme-default"; // OPTIONAL - Default Theme shown.
|
||||||
|
};
|
||||||
|
disableDefault404: false; // Allows the user to disable the default `/404 page, to be able to create their own under `/src/pages/404.astro`.
|
||||||
|
enableRSSFeed: true; // Allows the user to Enable or disable RSS Feed Generation. Default: true
|
||||||
|
enableOGImages: true; // Allows the user to Enable or disable OG Image Generation. Default: true
|
||||||
|
fullConsoleLogs: false; // Show the full Log output from All parts of Astro-GhostCMS
|
||||||
|
})
|
||||||
|
],
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
a matter of preferences i guess but i'd expect any property in the options to follow
camelCase
"The first letter may or may not be capitalized in CamelCase. This difference is called UpperCamelCase and lowerCamelCase. PascalCase always has the first letter capitalized."
According the
camelCase
this convention is acceptable. I mainly switched to UpperCamelCase for the Arrays that handle multiple different things, such as theIntegations
Options that passes through to the internal integrations and theThemeProvider
which is going to become a much bigger internal entity to control how the theme system is going to work, the goal being to expand to more options for being able to add to an already built astro project or use a pre-built.as i said, only a matter of preferences!