-
Notifications
You must be signed in to change notification settings - Fork 30
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 a mechanism for disabling @mentions on a page #39
Comments
Is it linking the mention once it's been jsonified, or the content when it renders the underlying post?
Exactly what I was going to suggest. |
Yes and no. The case is if you include CSS in a page and it has an |
I'd prefer a way to prevent single See also: gjtorikian/html-pipeline#232 and gjtorikian/html-pipeline#250 |
I'm wholly 👍 to the idea of a front-matter option like |
Also, would be super nice if you could override the
in your
for a different file to use that base_url. I made a fork of this gem, and made both of the changes discussed here: https://github.com/emma-sax4/jekyll-mentions. So, we can override the jekyll-mentions: false It can be included by specifying this in the Gemfile: gem 'jekyll-mentions', :git => 'https://github.com/emma-sax4/jekyll-mentions.git' |
@bkeepers I would like to inform you that this feature has landed on the |
I'm following the Jekyll search using lunr.js guide, and one step involves outputting JSON on the page:
This works fine, except that the jekyll-mentions plugin still finds @mentions in
content
and autolinks them, which then breaks the json.For this specific use case, one solution is to move just the json to a separate file called
content.json
, since jekyll-mentions only operates on html pages.Are there other uses cases though where it might make sense to allow disabling @mentions per-page?
The text was updated successfully, but these errors were encountered: