-
Notifications
You must be signed in to change notification settings - Fork 57
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
homepage limited to 5 articles #403
Comments
A quick fix would be to manually change
|
After much trial and error, I discovered the same problem on the Distillery site. I could not for the life of me figure out what was going on until I removed the posts one at a time to find the magic number 5 worked. This must be a bug in a more recent version of {distill} because this didn't previously happen. |
Thank you for sharing @jhelvy. |
I'll do this. But this should be controllable in the site yml . There's an option to set the max number of feed times to display, e.g.
Perhaps this is being ignored? |
Thanks for your work around @lgnbhl. |
Same issue here, too. I have a suspicion that this will be true for anyone who uses distill and updates their site |
Hi everyone, sorry for the trouble with this issue. It took me a bit of time to find the source of the issue. This issue is caused by last rmarkdown release 2.11 which upgraded default JQuery to version 3. It seems there is a conflict with distill JS library that needs to be fixed. I am onto it. I believe you all are using rmarkdown 2.11, right ? With this version, as a workaround waiting for a fix, you can set back the use of JQuery 2 using options(rmarkdown.jquery.version = 2)
These are temporary workaround, and we'll push a fix in the package very soon. Thanks for your patience. |
The issue should now be fixed: I don't get a blank homepage anymore. No need to do anything on your project except upgrading to last dev version of the package. remotes::install_github("rstudio/distill") If this does not fix the issue, or it was not the only thing happening for you @lgnbhl I'll reopen an have another look. Same for you @caayala, @jhelvy, and @p0bs - maybe this was not the only cause of the issue. Thanks |
Hi @cderv , |
I need to look into this. Can you open a new issue so that we discuss and track this idea ? Thanks! |
it's working again. Thanks! |
Yup, the distillery tips & tricks page is also back up - thanks for the quick fix @cderv! |
Thanks all. I think we can consider the issue fixed then. Thanks for the report. |
Hello,
After updating the distill R package to the most recent version, the homepage (index.html) of my blog is blank. However, reducing the number of articles in the
_posts
makes the page rendering correctly.When I remove
visibility: hidden;
insideindex.html
, I have the same issue reported here: https://community.rstudio.com/t/distill-website-deployment-on-rstudio-connect-does-not-render-linked-articles/88900/6.Any idea how to fix that?
Thanks a lot!
The text was updated successfully, but these errors were encountered: