Skip to content

Add legal notice and privacy policy, remove Google requests, move 2026 course to past events - #87

Merged
m-reuter merged 2 commits into
mainfrom
cleanup
Nov 24, 2026
Merged

m-reuter merged 2 commits into
mainfrom
cleanup

Conversation

@m-reuter

Copy link
Copy Markdown
Member

Summary

Addresses review feedback on legal compliance (German Impressum and GDPR requirements) and removes all third-party requests that loaded on page view without consent. Also moves the FastSurfer course 2026 to past events.

Legal pages

  • New Legal Notice (Impressum) page at /impressum/ (§ 5 DDG, § 18(2) MStV). It states that this is Martin Reuter's personal website and not an official DZNE, MGH, HMS or MIT site.
  • New Privacy Policy page at /privacy/ covering GitHub Pages hosting, click-to-load YouTube videos, contact by e-mail, external links and visitors' rights.
  • Both pages are linked from the footer of both layouts (lab.html, product.html), so they appear on every page that uses these layouts.
  • Phone number removed from the contact page.

No more requests to Google on page load

  • Google Analytics removed from both layouts. The UA-52773332-1 (Universal Analytics) snippet stopped collecting data in 2023 but still sent a request to Google on every visit.
  • Inter font is now self-hosted in static/fonts/ (latin and latin-ext variable fonts from Fontsource, SIL Open Font License included) instead of loading from fonts.googleapis.com.
  • YouTube video on /research/fastsurfer/science/ is click-to-load. A locally stored preview image is shown, and the video loads from youtube-nocookie.com only after the visitor clicks. A direct link to YouTube is offered as an alternative.

After this change, the built site contains no references to google-analytics, fonts.googleapis, fonts.gstatic or youtube.com/embed. The only data processing on page load is by GitHub as the host.

Events

  • FastSurfer/FreeSurfer course 2026 moved from upcoming to past events.
  • The "Upcoming" section on /events/ is hidden when there are no upcoming events.
  • The 2026 course pages now say registration is closed; the waiting-list link is removed.

Not covered by this PR

  • Sites served under the same domain from other repositories (e.g. /FastSurfer/, /LaPy/) don't use these layouts. They need their own footer links to the legal pages and a check for Google Fonts or other third-party requests.

Testing

  • bundle exec jekyll build succeeds.
  • Checked locally with bundle exec jekyll serve: footer links, /impressum/, /privacy/, the video placeholder, and /events/.

- Remove defunct Google Analytics (UA) snippet from both layouts
- Self-host Inter font (static/fonts) instead of loading from Google Fonts
- Load the YouTube video on the FastSurfer science page only after a click
- Add /impressum/ and /privacy/ pages, linked from both layout footers
- Remove phone number from the contact page
- Move the 2026 course from upcoming to past events
- Hide the Upcoming section when there are no upcoming events
- Mark 2026 course registration as closed
@m-reuter
m-reuter merged commit 244463c into main Nov 24, 2026
1 check passed
@m-reuter
m-reuter deleted the cleanup branch November 24, 2026 16:14
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

Successfully merging this pull request may close these issues.

1 participant