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

base_url configuration not doing anything #76

Closed
jlconlin opened this issue Oct 26, 2021 · 2 comments
Closed

base_url configuration not doing anything #76

jlconlin opened this issue Oct 26, 2021 · 2 comments

Comments

@jlconlin
Copy link

jlconlin commented Oct 26, 2021

I just started using jekyll-mentions and would like to customize the base_url. It seems no matter what I try, the link always points to GitHub.

In my content I have something like:

## testing
This @jlconlin guy is really great

That makes a link to https://github.com/jlconlin.

What I'd really like is to point to a local page using this:

jekyll-mentions: http://localhost:4000/people/

But that still points to GitHub. I can't even get the example in the README to work:

jekyll-mentions: https://twitter.com

as that still points to GitHub instead of Twitter.

I'm using Jekyll 4.2.1 and just installed the jekyll-mentions this morning (version 1.6.0).

Am I doing something wrong?

@ashmaroli
Copy link
Member

It works at my end. So you're doing something wrong. Try:

  • Ensure that you restart the local server after changing your config file.
  • YAML is indentation-sensitive. Ensure that your config entry is flush to the beginning of line.

@jlconlin
Copy link
Author

I was using jekyll_mentions and it should be jekyll-mentions; the difference between a hyphen and an underscore. Yes, it does work. Sorry for the hassle.

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

2 participants