Skip to content

Google Scholar link not created in publications page #551

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

Closed
kmundnic opened this issue Apr 4, 2021 · 2 comments
Closed

Google Scholar link not created in publications page #551

kmundnic opened this issue Apr 4, 2021 · 2 comments

Comments

@kmundnic
Copy link

kmundnic commented Apr 4, 2021

The file _pages/publications.md contains the following line:

{% if author.googlescholar %}
  You can also find my articles on <u><a href="{{author.googlescholar}}">my Google Scholar profile</a>.</u>
{% endif %}

However, this is not rendered in the publications page, although googlescholar is set in _config.yml and rendered correctly in the sidebar.

@TLouf
Copy link

TLouf commented Apr 5, 2021

I encountered the same issue, turns out it's fixed by #545: what you configure in _config.yml is accessed by the variable site.author.

So that you know why it was rendered correctly in the sidebar, it's because of this line in author-profile.html, as we enter the else statement because no page author has been defined.

@kmundnic
Copy link
Author

kmundnic commented Apr 5, 2021

Thank you @TLouf. I'll close the issue, since it is fixed by #545.

@kmundnic kmundnic closed this as completed Apr 5, 2021
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