-
Notifications
You must be signed in to change notification settings - Fork 31
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
Allow configuring base URL in page front matter #72
Conversation
* Updating README * Making appropriate changes * Updating tests * Fixing tests
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.
This looks nice, thanks for the addition 😄
Co-Authored-By: Frank Taillandier <[email protected]>
Co-Authored-By: Frank Taillandier <[email protected]>
Co-Authored-By: Frank Taillandier <[email protected]>
Co-Authored-By: Frank Taillandier <[email protected]>
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.
I'm not against the idea but I think the implementation needs an complete overhaul...
Use existing objects and attributes of those objects. By the time this plugin comes into play, Jekyll will have finished reading and rendering all pages and documents in the site (since the plugin uses the :post_render
hook). Everything you need is already available and accessible via their individual getter API.
Co-Authored-By: Ashwin Maroli <[email protected]>
Co-Authored-By: Ashwin Maroli <[email protected]>
This comment has been minimized.
This comment has been minimized.
Wow thank you @ashmaroli for helping me get this to such a nice place! |
You're welcome @emma-sax4.
You may introduce a new test page / post. |
* Adding even more tests * Add additional tests * Ah, here we go * Change Overridden link to be custom URL * Renaming this context
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! 👍
Thanks @DirtyF! Who does the merging? Is it a jekyll bot or something that someone has to trigger? |
@benbalter |
Thank you @emma-sax4 |
Add the ability for the
base_url
to be overridden in a specific file's front matter, instead of using whatever is set in the_config.yml
. So for a specific file, we can specify a different base URL than whatever is set for the rest of the site in_config.yml
.Also let a specific file's front matter to disable @mentions in that file:
This change implements a couple of the features that's mentioned in #39.