HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.1k stars 2.89k forks source link

highlight self name in authors list when importing from bibtex #3079

Closed briochemc closed 5 months ago

briochemc commented 6 months ago

Preliminary Checks

Description

I'd like to use both the import function from publications.bib and the feature to highlight my name in authors lists. This is not working at this stage for me.

I think that the workflow for importing publications from publications.bib should check if the name of admin is in the author list and replace the full name with admin in the generated markdown.

Reproduction Link

https://github.com/briochemc/briochemc.github.io-

Steps to Reproduce

  1. import publications.bib with admin's actual name in the authors
  2. activate the author-name highlighting feature for the admin
  3. Publish and see the admin name appear without highlight.

Expected Result

The admin name should be automatically highlighted.

Actual Result

The admin name appears without highlight.

What Hugo Module versions does your site use?

module github.com/HugoBlox/theme-academic-cv

go 1.15

require ( github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.7 github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108141515-0478cf6921f9 github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal v1.1.2 )

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Firefox

Which Hugo Blox template are you using?

Academic CV

What version of Hugo are you using?

0.123.3

gcushen commented 6 months ago

Please add your feedback on the Academic File Converter to the repo for the Academic File Converter...

briochemc commented 6 months ago

Thanks @gcushen for the hard work and quick reply.

Sorry I should have been clearer. While I think this could be resolved at the file converter level, I'm not sure that's the only way or the best one. It could very well be handled by the highlighting part of the code itself by looking up the admin's name in the authors list of each publication, right? Given that following the instructions here does not give the expected result, I think this is best reported/discussed here, no?

github-actions[bot] commented 5 months ago

This issue is stale because it has not had any recent activity. The resources of the project maintainers are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the main branch, consider contributing a Pull Request with a fix.

If this is a feature request, and you feel that it is still relevant and valuable, consider contributing a Pull Request for review.

This issue will automatically close soon if no further activity occurs. Thank you for your contributions.