fix(media): align photo upload path to /images

This commit is contained in:
svemagie
2026-03-08 02:03:47 +01:00
parent f64f8b8c16
commit b770bd3a16
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -32,6 +32,7 @@
## Content paths ## Content paths
- This setup writes post files to the content repo `blog` under `content/`. - This setup writes post files to the content repo `blog` under `content/`.
- Photo upload binaries are written to `images/{filename}` and published at `${PUBLICATION_URL}/images/{filename}`.
- Current paths in `publication.postTypes` are: - Current paths in `publication.postTypes` are:
- `content/articles/{slug}.md` - `content/articles/{slug}.md`
- `content/notes/{slug}.md` - `content/notes/{slug}.md`
+4
View File
@@ -96,6 +96,10 @@ export default {
path: "content/photos/{slug}.md", path: "content/photos/{slug}.md",
url: `${publicationBaseUrl}/photos/{slug}/`, url: `${publicationBaseUrl}/photos/{slug}/`,
}, },
media: {
path: "images/{filename}",
url: `${publicationBaseUrl}/images/{filename}`,
},
}, },
reply: { reply: {
name: "Antwort", name: "Antwort",