I can't provide a reprex, but I took screenshots to explain the problem. I think maybe @cderv might have insight?
tl;dr -- the question is: why do i have to re-knit every blog post after I build the website? If I don't, the relevant
index.html files get deleted, and the blog doesn't exist after I push to GitHub
- The important piece here is that my blog entries don't live in
index.html(for the site), instead they live in
daily.html. See the structure here:
- When I build the site, the relevant
index.htmlfile (connected to the blog entry) gets deleted!
- In order to obtain the necessary pieces of the website, I have to re-knit each blog entry (after every build):
- For reference, here is the
index.Rmdfile for the entire site:
The website is here: https://m154-comp-stats.netlify.app/
And the GitHub repo is: GitHub - hardin47/m154-comp-stats