vorlage für Artkel erstellt
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 50s

This commit is contained in:
ebby 2026-08-29 14:34:30 +02:00
parent ebb0810bf3
commit 776e41beca
3 changed files with 76 additions and 45 deletions

View file

@ -1,45 +0,0 @@
# Astro Starter Kit: Minimal
```sh
npm create astro@latest -- --template minimal
```
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
## 🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
```text
/
├── public/
├── src/
│ └── pages/
│ └── index.astro
└── package.json
```
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the `public/` directory.
## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |
## Bilder für Webuseage convertieren
`magick convert input_file -resize 50% output_file`
`magick mogrify -format webp -quality 80 *.jpg`

73
blog/README.mdx Normal file
View file

@ -0,0 +1,73 @@
# Readme
## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |
## Bilder für Webuseage convertieren
`magick convert input_file -resize 50% output_file`
`magick mogrify -format webp -quality 80 *.jpg`
## Vorlage für MDX-Artikel
---
title:
subtitle:
description:
image:
path: titelbild_artikelordner.webp
alt:
author: Bernd das Brot
date: 2026-08-29
slug: Wie-soll-die-URL-aussehen?
time2read: 0
---
import BlogLink from '../../components/blog/BlogLink.astro'
import SingleImage from '../../components/blog/SingleImage.astro'
import DoubleImage from '../../components/blog/DoubleImage.astro'
Hier kann man in den Artikel einleiten.<br />
Evtl. ist es das gleiche wie die Beschreibung.
---
<br />
## Große Überschrift für einen Abschnitt
Textus schreibus .
<SingleImage
src="artikelordner/name.webp"
alt=""
description=""
/>
Lorem ipsum dolor sit amet.
### Zwischenüberschrift
Lorem Ipsum <BlogLink text="Lorem Ipsum" url="https://www.loremipsum.com/" />.
<DoubleImage
src1="artikelordner/name.webp"
alt1=""
src2="artikelordner/name.webp"
alt2=""
description=""
/>
<br />
---
**Hier ist Platz für ein Schlusswort.**

View file

@ -119,5 +119,8 @@ Nur 20 Bahnminuten von uns entfernt!
Den Laptop bringe ich ihm direkt vorbei und wir nutzen die Gelegenheit uns den Hafen von Wismar anzugucken.
Mit dem NEUEN Laptop, sind wir übrigens SEHR zufrieden ;). Der Framework 13 Pro ist wahrlich ein Meisterwerk.
<br />
---
**Diese Woche war vollgepackt mit Kindheitserinnerungen, Erholung und Abenteuer. Das Wetter hätte nicht besser sein können. Zu sagen, dass wir es genoßen hätten wäre eine Untertreibung. Entsprechend erholt sind wir danach und bereit für das nächste Abenteuer. Zeit für Kontrast zum Strand...**