-
Notifications
You must be signed in to change notification settings - Fork 123
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 relative links to the convert template file #1728
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,14 +1,14 @@ | |||
<head-bottom> | |||
<link rel="stylesheet" href="{{baseUrl}}/stylesheets/main.css"> | |||
<link rel="stylesheet" href="{% raw%}{{baseUrl}}{% endraw %}/stylesheets/main.css"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trivial suggestion, able to add some spaces here? Same for the rest :)
<link rel="stylesheet" href="{% raw%}{{baseUrl}}{% endraw %}/stylesheets/main.css"> | |
<link rel="stylesheet" href="{% raw %}{{ baseUrl }}{% endraw %}/stylesheets/main.css"> |
@jonahtanjz Thanks for the tips! Will add them! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I'll leave the final reviewing and merge to @jonahtanjz.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
This reverts the package-lock changes from commit a539e2a.
What is the purpose of this pull request?
Fixes #1725
Overview of changes:
This PR directly address the issue raised in #1725.
I fix it by adding the {{baseUrl}} into the template nunjucks file.
Anything you'd like to highlight / discuss:
Testing instructions:
Run
markbind init -c
on a test repo and see that the {{baseUrl}} is indeed there.Proposed commit message: (wrap lines at 72 characters)
Add relative links to template file
Checklist: ☑️