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

Add Jekyll site url option #3

Open
chrismytton opened this issue Mar 1, 2016 · 0 comments
Open

Add Jekyll site url option #3

chrismytton opened this issue Mar 1, 2016 · 0 comments

Comments

@chrismytton
Copy link
Contributor

The Jekyll templates that are being rendered will often contain links that will only work on the Jekyll version of the site, not the Sinatra version. The Jekyll site needs to prefix all of these with {{ site.url }} so that they are absolute links including a hostname rather than relative.

It would be nice to add a way to dynamically set the site.url from Sinatra so that the links go to the correct place.

As I type this I wonder if there should be a more general mechanism for interacting with the site's configuration, so that other values can be adjusted as needed?

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