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

Issues with blogdown preview using RStudio Server? #89

Open
cboettig opened this issue Jun 8, 2021 · 0 comments
Open

Issues with blogdown preview using RStudio Server? #89

cboettig opened this issue Jun 8, 2021 · 0 comments

Comments

@cboettig
Copy link

cboettig commented Jun 8, 2021

Hi @apreshill and team,

First off, what a beautifully crafted theme, both in code and aesthetics. Very impressed (after years of writing/wrestling with my own hugo themes...).

One thing I've noticed is that in previewing the site locally with blogdown::serve_site() from an RStudio Server connection, a few elements don't render properly: specifically, fontawesome icons and preview images on the project page. Similarly some navigation links are broken. The problem is resolved once the site is published, e.g. via netlify, but of course local preview is nicer. I think this has something to do with relative vs absolute urls, e.g. RStudio Server previews at an arbitrary path like: /p/894cc8d3/project/ , (e.g. http://localhost:8787/p/894cc8d3/project/ from a locally-hosted RStudio Server in docker), i.e. RStudio-Server's p/894cc8d3 part isn't visible to the navigation. It's not really an issue with the theme, but it's an annoying gotcha for anyone building sites on a server-instance. Can you reproduce this problem? any advice on how to remedy it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant