3 Commits

Author SHA1 Message Date
4779e63132 feat: implement PDF generation and update Dockerfile
- Add PDF generation using go-pdf/fpdf (Pure Go library)
- Walk markdown AST and render directly to PDF
- Update Dockerfile to include themes directory and config
- Fix ENTRYPOINT format for serve mode

Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
2026-03-05 02:33:37 +01:00
1d47c5a930 feat: integrate HTML template engine with theme selection
- Add theme configuration to WebServer struct
- Create default theme with base.html layout template
- Update content.go to apply theme templates to generated HTML
- Output is now full HTML documents with styling

Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
2026-03-05 02:17:12 +01:00
a1d054dfe4 Implement CLI mode and Markdown parsing
- Add CLI mode distinction (gocv vs gocv serve)
- Add goldmark dependency for Markdown parsing
- Create content reading logic from ./content directory
- Implement Markdown to HTML conversion
- Add sample content/index.md for testing
- Update .gitignore for build artifacts

Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
2026-03-05 02:13:16 +01:00