fix(media): align photo upload path to /images
This commit is contained in:
@@ -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`
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user