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
My current workflow is to set my working directory to the the website directory that is created when using the function new_site. Serve_Site works as expected and I can view my work correctly without issue. However, when I use build_site there's a difference that breaks layout. The index.html file will point to the site's main directory rather than the public directory.
Here's an example:
Serve_Site will correctly link to resources: "./2017/02/15/an-intro-to-gaussian-mixture-modeling/" Build_Site adds an extra folder: "./jonathande4.github.io/2017/02/15/an-intro-to-gaussian-mixture-modeling/"
Serve_site still works as I need it to, but it took a couple problematic git commits to understand the issue. I am wondering if others have experienced this issue, or if it's a problem with my usage.
The text was updated successfully, but these errors were encountered:
detroyejr
changed the title
Build_Site and Serve_Site Cause Output Create Issues.
Build_Site and Serve_Site Output Issues.
Feb 18, 2017
You probably set baseurl = "jonathande4.github.io" in config.toml, which is not an absolute URL and really should be "https://jonathande4.github.io/" instead. I'd recommend baseurl = "/", though, but it depends on the specific theme you use.
My current workflow is to set my working directory to the the website directory that is created when using the function new_site. Serve_Site works as expected and I can view my work correctly without issue. However, when I use build_site there's a difference that breaks layout. The index.html file will point to the site's main directory rather than the public directory.
Here's an example:
Serve_Site will correctly link to resources: "./2017/02/15/an-intro-to-gaussian-mixture-modeling/"
Build_Site adds an extra folder: "./jonathande4.github.io/2017/02/15/an-intro-to-gaussian-mixture-modeling/"
Serve_site still works as I need it to, but it took a couple problematic git commits to understand the issue. I am wondering if others have experienced this issue, or if it's a problem with my usage.
The text was updated successfully, but these errors were encountered: