Skip to content

Add visitor map widget and improve publications/bibtex handling - #10

Merged
zuojr merged 2 commits into
mainfrom
codex/add-completed-papers-to-homepage-32mklr
May 12, 2026
Merged

Add visitor map widget and improve publications/bibtex handling#10
zuojr merged 2 commits into
mainfrom
codex/add-completed-papers-to-homepage-32mklr

Conversation

@zuojr

@zuojr zuojr commented May 12, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Provide a live visitor map widget for the site and allow authors to better organize publications by research category.
  • Expose a simple way to hide custom BibTeX fields and surface fallback "Paper" links when no PDF/arXiv/HTML is present for an entry.

Description

  • Add a configurable visitor map feature with site-level settings in _config.yml (visitor_map block) and a new include _includes/visitor_map.liquid that embeds a ClustrMaps widget or a placeholder.
  • Include the visitor map on the about page by updating _layouts/about.liquid and add styles for the widget in _sass/_components.scss.
  • Add publication grouping by research_category in _pages/publications.md and add publication-category styles in _sass/_publications.scss.
  • Extend papers.bib with new entries and research_category fields for grouping and selection, and mark some entries as selected/displayed appropriately.
  • Show a Paper button in _layouts/bib.liquid when an entry has a url but no arxiv, pdf, or html set, and keep existing DOI/arXiv/PDF/HTML buttons behavior.
  • Make the custom BibTeX-hiding plugin _plugins/hide-custom-bibtex.rb read filtered_bibtex_keywords from either top-level config or scholar.filtered_bibtex_keywords and preserve the previous superscript-cleaning behavior.
  • Disable selected_papers on the about page (_pages/about.md) to avoid duplicate selected publications display.

Testing

  • Ran a local site build with bundle exec jekyll build and the build completed without errors.
  • Checked Ruby syntax for the plugin with ruby -c _plugins/hide-custom-bibtex.rb, which returned OK.
  • Manually inspected generated publication pages and the about page to verify the visitor map include appears when enabled and that grouped bibliographies render expected entries.

Codex Task

@zuojr
zuojr merged commit 2e47d3d into main May 12, 2026
4 of 5 checks passed
@github-actions

Copy link
Copy Markdown

Failed prettier code check. Check this file for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant