update www
This commit is contained in:
parent
971618f257
commit
21869a2ecb
|
@ -27,17 +27,21 @@ export default defineConfig({
|
||||||
{ label: 'Docs Home', link: '/docs/' },
|
{ label: 'Docs Home', link: '/docs/' },
|
||||||
{ label: 'Introduction', items: [
|
{ label: 'Introduction', items: [
|
||||||
{ label: 'Getting Started', link: '/docs/introduction/getting-started' },
|
{ label: 'Getting Started', link: '/docs/introduction/getting-started' },
|
||||||
{ label: 'Integration Mode', items: [
|
{ label: 'Integration Mode', badge: { variant: 'default', text: 'Easy' }, items: [
|
||||||
{ label: 'Quick Install', link: '/docs/introduction/integration/quick' },
|
{ label: 'Quick Install', link: '/docs/introduction/integration/quick' },
|
||||||
{ label: 'Manual Install', link: '/docs/introduction/integration/manual' },
|
{ label: 'Manual Install', link: '/docs/introduction/integration/manual' },
|
||||||
{ label: 'Configuration Options', link: '/docs/introduction/integration/config',
|
{ label: 'Configuration Options', link: '/docs/introduction/integration/config', }, ], },
|
||||||
badge: { text: 'BETA', variant: 'caution' }, }, ], },
|
{ label: 'API Only Mode', badge: { variant: 'default', text: 'Advanced' }, items: [
|
||||||
{ label: 'API ( DIY ) Mode', items: [
|
|
||||||
{ label: 'Install', link: '/docs/introduction/api/install' },
|
{ label: 'Install', link: '/docs/introduction/api/install' },
|
||||||
{ label: 'Basic API Usage', link: '/docs/introduction/api/usage' },
|
{ label: 'Basic API Usage', link: '/docs/introduction/api/usage' },
|
||||||
{ label: 'Templates', link: '/docs/introduction/api/templates', badge: { text: 'NEW', variant: 'success' }, } ], }, ], },
|
{ label: 'Templates', link: '/docs/introduction/api/templates', badge: { text: 'DIY', variant: 'note' }, } ], }, ], },
|
||||||
{ label: 'Default Theme Usage', autogenerate: { directory: 'docs/theme-default'}, },
|
{ label: 'Customization', items: [
|
||||||
{ label: 'Catppuccin Theme Usage', autogenerate: { directory: 'docs/catppuccin'}, },
|
{ label: 'Default Theme Usage', autogenerate: { directory: 'docs/customization/theme-default'}, },
|
||||||
|
]},
|
||||||
|
{ label: 'Themes', badge: { text: 'NPM-Module', variant: 'tip' }, items: [
|
||||||
|
{ label: 'Catppuccin Theme', autogenerate: { directory: 'docs/themes/catppuccin'}, },
|
||||||
|
{ label: 'Brutal by Elian Theme', badge: { text: 'NEW', variant: 'success' }, autogenerate: { directory: 'docs/themes/brutalbyelian'}, },
|
||||||
|
] },
|
||||||
{ label: 'Tutorials', autogenerate: { directory: 'docs/tutorials' }, },
|
{ label: 'Tutorials', autogenerate: { directory: 'docs/tutorials' }, },
|
||||||
{ label: 'Reference', autogenerate: { directory: 'docs/reference' }, },
|
{ label: 'Reference', autogenerate: { directory: 'docs/reference' }, },
|
||||||
],
|
],
|
||||||
|
|
|
@ -0,0 +1,80 @@
|
||||||
|
---
|
||||||
|
title: Manual Install
|
||||||
|
description: How to install the Brutal by Elian Theme
|
||||||
|
---
|
||||||
|
|
||||||
|
[Demo](https://brutal-demo.astro-ghostcms.xyz/)
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# For fresh Install
|
||||||
|
npm create astro@latest
|
||||||
|
# Create Empty Install with standard typescript
|
||||||
|
# Then Delete entire `pages` folder under `/src/`
|
||||||
|
|
||||||
|
# Then run the following:
|
||||||
|
|
||||||
|
npx astro add @matthiesenxyz/astro-ghostcms
|
||||||
|
|
||||||
|
npm i @matthiesenxyz/astro-ghostcms/astro-ghostcms-brutalbyelian @unocss/astro
|
||||||
|
|
||||||
|
npm i -D @unocss/reset postcss unocss
|
||||||
|
```
|
||||||
|
|
||||||
|
Then set your `astro.config.ts` to look like this:
|
||||||
|
|
||||||
|
```ts frame="code" title="astro.config.ts"
|
||||||
|
import { defineConfig } from "astro/config";
|
||||||
|
import ghostcms from "@matthiesenxyz/astro-ghostcms";
|
||||||
|
import UnoCSS from 'unocss/astro';
|
||||||
|
|
||||||
|
// https://astro.build/config
|
||||||
|
export default defineConfig({
|
||||||
|
site: "https://YOURDOMAINHERE.com/",
|
||||||
|
trailingSlash: 'ignore',
|
||||||
|
integrations: [
|
||||||
|
UnoCSS({ injectReset: true }),
|
||||||
|
ghostcms({
|
||||||
|
theme: "@matthiesenxyz/astro-ghostcms-catppuccin",
|
||||||
|
ghostURL: "https://ghostdemo.matthiesen.xyz",
|
||||||
|
})
|
||||||
|
],
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
## Setup UnoCSS
|
||||||
|
|
||||||
|
```ts frame="code" title="uno.config.ts"
|
||||||
|
import brutalTheme from '@matthiesenxyz/astro-ghostcms-brutalbyelian';
|
||||||
|
import { defineConfig } from 'unocss';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
presets: [ brutalTheme() ],
|
||||||
|
});
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Setup `.env` variables
|
||||||
|
|
||||||
|
```ansi frame="code" title=".env"
|
||||||
|
[1;31mCONTENT_API_KEY[0m=[33ma33da3965a3a9fb2c6b3f63b48
|
||||||
|
```
|
||||||
|
|
||||||
|
***When you deploy your install dont forget to set the above ENVIRONMENT VARIABLES!***
|
||||||
|
|
||||||
|
## Created Routes
|
||||||
|
|
||||||
|
The routes are the same as a standard Ghost Blog so you can migrate to Astro easily.
|
||||||
|
|
||||||
|
| Route | Content |
|
||||||
|
| --------------------- | ----------------------------------------- |
|
||||||
|
| `/` | Homepage with recents/features Blog Posts |
|
||||||
|
| `/404` | 404 Page |
|
||||||
|
| `/[slug]` | Post or Page |
|
||||||
|
| `/author/[slug]` | Author page with related posts |
|
||||||
|
| `/authors` | All the authors |
|
||||||
|
| `/tag[slug]` | Tag page with related posts |
|
||||||
|
| `/tags` | All the tags |
|
||||||
|
| `/archives/[...page]` | All the posts, paginated |
|
||||||
|
| `/rss.xml` | All the posts, in a FEED |
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
title: Quick Install
|
||||||
|
description: How to install the Brutal by Elian Theme
|
||||||
|
---
|
||||||
|
|
||||||
|
[Demo](https://brutal-demo.astro-ghostcms.xyz/)
|
||||||
|
|
||||||
|
## Coming Soon
|
|
@ -5,4 +5,8 @@ description: How to install the Catppuccin Dark theme
|
||||||
|
|
||||||
[Demo](https://catppuccindark-demo.astro-ghostcms.xyz/)
|
[Demo](https://catppuccindark-demo.astro-ghostcms.xyz/)
|
||||||
|
|
||||||
## Coming Soon
|
### To Quickly get started with this theme just run the following command
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npx @matthiesenxyz/create-astro-ghostcms catppuccin
|
||||||
|
```
|
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: 'Updated Docs, and New Theme!'
|
||||||
|
date: '02-10-2024'
|
||||||
|
versionNumber: 'POST'
|
||||||
|
description: 'Updated Docs, and New Theme!'
|
||||||
|
#image:
|
||||||
|
# src: '../../assets/starlog-placeholder-2.jpg'
|
||||||
|
# alt: 'The full Astro logo.'
|
||||||
|
---
|
||||||
|
|
||||||
|
## Updated Docs, and a New Theme!
|
||||||
|
|
||||||
|
We now have an updated Docs for our integration. As well as we have brought the Brutal Theme by Elian.Codes in to our Integration as a usable theme!
|
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
title: 'v3.2.1 - RSS Stylesheets & Some code cleanup'
|
||||||
|
date: '02-05-2024 00:00'
|
||||||
|
versionNumber: '3.2.1'
|
||||||
|
description: 'v3.2.1 - RSS Stylesheets & Some code cleanup'
|
||||||
|
#image:
|
||||||
|
# src: '../../assets/starlog-placeholder-2.jpg'
|
||||||
|
# alt: 'The full Astro logo.'
|
||||||
|
---
|
||||||
|
|
||||||
|
# v3.2.1 - RSS Stylesheets & Some code cleanup
|
||||||
|
|
||||||
|
We now have Rss Stylesheet to make the RSS xml to look better than just a plain XML format, and some code cleanup and better logging.
|
||||||
|
|
||||||
|
### New Stuff
|
||||||
|
|
||||||
|
- RSS Stylesheets
|
||||||
|
- Better Logs
|
||||||
|
- Code Cleanup and Fixes
|
||||||
|
|
||||||
|
### Changes since 3.1.7
|
||||||
|
|
||||||
|
- Bumb Depenedency Versions and fix a small issue with Satori.
|
Loading…
Reference in New Issue