(had to modify example links due to 2-link limitations)
I’ve moved through a number of CMSes over the years (homebrew, wordpress, movabletype, pelican, mezzanine, wordpress again). I’m pretty much sold on grav as my next one. Already setup a test instance and imported my markdown posts.
One thing I learned to do was to split my site between www (dot) example (dot) com and static (dot) example (dot) com. I put all the media that shows up in my posts under static, and as much as possible, assets related to templates. This means that when I migrate my content, the links to static_/somedir/image.png remain the same, even if the CMS managing the media changes.
So I have a few questions:
- I see grav uploads media to the same folder as the page. Can this behavior be changed? I like the drag-and-drop capability, and the little button to insert the markdown pointing to the image. But can can that behavior be changed so uploads go to a different folder/set of folders, and the insert action puts in a full URL?
- Grav has a /images folder where resized thumbnails seem to end up. Can we have the generated URL be changed (static.example.com/images or static_grav/images)?
- At some point I’ll be extending or making my own theme… when I do that, I’ll probably want to serve my assets out of the static_ domain. Any good pointers on this so I’m not hardcoding any URLs?