Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artefacts present on p3-4 in home need to be removed #29

Closed
thibautjombart opened this issue Aug 30, 2018 · 3 comments
Closed

Artefacts present on p3-4 in home need to be removed #29

thibautjombart opened this issue Aug 30, 2018 · 3 comments
Assignees
Labels

Comments

@thibautjombart
Copy link
Contributor

This looks very odd, see screenshot below for p3:

screenshot_2018-08-30_08-49-21

My suspicion is this is because hugo tries to process the folders named ***_files in /content/post/, which are seemingly needed for the html widgets.

@thibautjombart
Copy link
Contributor Author

Adding this to config.toml removes the artefacts but then the html widgets are missing from the posts:

ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_cache$","^README", "_files", "widgets"]

@thibautjombart
Copy link
Contributor Author

So, the culprits are the folders *_files and widgets in content/post/:

master@icarus:~/dev/recon/learn$ ls content/post
deps.yaml                            lecture-outbreak-statistics.Rmd       practical-ebola-reconstruction.Rmd  practical-phylogenetics_files
lecture-basicvbd-modelling.md        lecture-phylogenetics.md              practical-ebola-response_files      practical-phylogenetics.md
lecture-basicvbd-modelling.Rmd       lecture-phylogenetics.Rmd             practical-ebola-response.md         practical-phylogenetics.Rmd
lecture-compartmental-ebola.md       lecture-reproducibility.md            practical-ebola-response.Rmd        practical-vbd_files
lecture-compartmental-ebola.Rmd      lecture-reproducibility.Rmd           practical-evd.bib                   practical-vbd.md
lecture-modelling-public-health.md   practical-compartmental-ebola_files   practical-outbreakend.bib           practical-vbd.Rmd
lecture-modelling-public-health.Rmd  practical-compartmental-ebola.md      practical-outbreakend_files         tutorial-post-creation.md
lecture-outbreaker2.md               practical-compartmental-ebola.Rmd     practical-outbreakend.md            tutorial-post-creation.Rmd
lecture-outbreaker2.Rmd              practical-ebola-reconstruction_files  practical-outbreakend.Rmd           widgets
lecture-outbreak-statistics.md       practical-ebola-reconstruction.md     practical-phylogenetics.bib

From this discussion it looks like the recommended practice would be to put them in static/. Moving all the guilty folders to static/post does the trick, but a longer term solution would still be preferable.

@zkamvar
Copy link
Member

zkamvar commented Dec 8, 2018

This was fixed in #51 and 7da1342.

@zkamvar zkamvar closed this as completed Dec 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants