mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-03 01:15:57 +10:00
Resolves issue #1484 where CUSTOM_TEMPLATES_DIR configuration was being ignored. The setting was previously removed from ServerConfig and hardcoded as a constant, preventing users from customizing the templates directory location. Changes: - Added CUSTOM_TEMPLATES_DIR field to StorageConfig in common.py - Updated settings.py to use STORAGE_CONFIG.CUSTOM_TEMPLATES_DIR - Updated paths.py to use configurable value in version output Users can now configure the custom templates directory via: - ArchiveBox.conf: CUSTOM_TEMPLATES_DIR = ./custom_templates - Environment variable: export CUSTOM_TEMPLATES_DIR=/path/to/templates - Defaults to DATA_DIR/user_templates if not configured 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com>