Skip to content

v2.0: Faster, self-hosted, data-driven

Latest

Choose a tag to compare

@sbryngelson sbryngelson released this 25 Oct 16:08
· 11 commits to source since this release
5487a14

What's New

A correctness, speed and data-model overhaul. The design is unchanged; almost everything underneath it was rebuilt.

Faster, and no third parties

  • Zero external requests on pages without math: fonts and icons are now self-hosted (no Google Fonts, Font Awesome, or Academicons CDNs)
  • Home page transfer size 1,438 KB -> ~490 KB; Bootstrap JS removed, banner served as WebP
  • MathJax 4, loaded only where needed: add math: true to a page, or set it site-wide in _config.yml
  • Lighthouse accessibility 100 on every page (was 93-95), including dark mode contrast fixes, one h1 per page, and a skip link

Easier to fill in

  • Talks, teaching and software are YAML lists (_data/talks.yml, teaching.yml, software.yml) instead of HTML or BibTeX workarounds
  • Publication buttons from BibTeX fields: arxiv, url, code, slides, video, poster and data each become a link button; a BIB button now appears on every entry type
  • selected = {true} puts a publication in a "Selected publications" block on the home page
  • Your name is bolded in author lists automatically, from scholar.last_name / first_name
  • ./setup.sh --clean removes all demo content and leaves commented skeletons to fill in
  • Analytics: Plausible, Umami and GoatCounter alongside GA4, one config line each
  • Print stylesheet: printing or saving any page to PDF gives clean black-on-white output with link URLs shown

Fixes

  • Site search works on project sites served from a sub-path (it was broken on the demo itself), and indexes posts
  • The search index no longer contains raw Liquid/Markdown or button labels
  • The sitemap now lists pages
  • dark_mode: false now actually turns dark mode off
  • The blog moves from /blogs/ to /blog/, with posts at /blog/<year>/<slug>/

Deployment

  • url and baseurl are detected automatically at deploy time: user sites, project sites and custom domains need no config edits
  • Gemfile.lock committed for reproducible builds; Jekyll 4.4.1, Bootstrap SCSS 5.3.8, Ruby 3.4 and 4.0 tested in CI
  • Every PR is built and link-checked by html-proofer
  • README rewritten: deploy step in Quick Start, a Troubleshooting table, and fresh screenshots

Upgrading from v1.0

Some changes need action: talks move from BibTeX to _data/talks.yml, _data/people.yml is removed, Font Awesome <i> icons become {% include icon.html %}, and math pages need math: true. See UPGRADING.md.

New users: click Use this template rather than forking (forks carry the full repository history).

Demo

Live demo

If this template saves you time, please star the repo. Stars are how other academics find it.

Full changelog: v1.0...v2.0