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
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
{{define "head-styles"}}
|
||||
<!-- CSS - Always use bundled CSS (built via 'make css-prod') -->
|
||||
<!-- Individual CSS files are merged into one bundle to reduce HTTP requests -->
|
||||
{{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}}
|
||||
|
||||
Reference in New Issue
Block a user