You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Used statamic new to create a project named x including SSG. Set /resources/site.yaml default url to /foo. In other words, I am trying to generate a static site that is contained within the /foo folder of another host.
When I generate the static site I get a home page with the following...
These links have two problems. One is that they include the http://x.text host, and I plan to serve the static site from another host. The other is that they reference the build directory from the root of the server, and I expect (and need) all the static files to be in the site's /foo directory.
These links are generated from the layout.antlers.html template's vite tag...
I also find the build directory at /storage/static/build.
What I expect is a site fully contained in the /storage/static/foo directory, with build at /storage/static/foo/build and links that do not include a host.
What all do I need to change in this plain new Statamic site to get this result?
The text was updated successfully, but these errors were encountered:
Used
statamic new
to create a project namedx
including SSG. Set/resources/site.yaml
default url to/foo
. In other words, I am trying to generate a static site that is contained within the/foo
folder of another host.When I generate the static site I get a home page with the following...
These links have two problems. One is that they include the
http://x.text
host, and I plan to serve the static site from another host. The other is that they reference the build directory from the root of the server, and I expect (and need) all the static files to be in the site's/foo
directory.These links are generated from the
layout.antlers.html
template's vite tag...I also find the build directory at
/storage/static/build
.What I expect is a site fully contained in the
/storage/static/foo
directory, with build at/storage/static/foo/build
and links that do not include a host.What all do I need to change in this plain new Statamic site to get this result?
The text was updated successfully, but these errors were encountered: