Files
cv-site/templates/partials/layout/head-styles.html
T
juanatsap eddc424962 fix: cross-section search and CSS loading for chat widget
- agent.go: add section="search" that queries experience, projects,
  skills, and courses simultaneously — fixes missing results when
  a technology spans multiple CV sections (e.g. Java at Insa)
- head-styles.html: use modular CSS in development mode and load
  chat CSS separately — fixes unstyled page when bundle is stale
2026-04-08 00:44:16 +01:00

15 lines
567 B
HTML

{{define "head-styles"}}
{{if .IsProduction}}
<!-- CSS - Bundled CSS (built via 'make css-prod') -->
<link rel="stylesheet" href="/static/dist/bundle.min.css?v=20251206b">
{{else}}
<!-- CSS - Modular (development) -->
<link rel="stylesheet" href="/static/css/main.css">
{{end}}
{{if .ChatEnabled}}
<link rel="stylesheet" href="/static/css/04-interactive/_chat.css">
{{end}}
<!-- Print styles - loaded separately, only applied when printing -->
<link rel="stylesheet" href="/static/css/print.css" media="print">
{{end}}