mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[PR #1725] [MERGED] Fix: Make CUSTOM_TEMPLATES_DIR configurable again #1475
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#1475
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1725
Author: @pirate
Created: 12/29/2025
Status: ✅ Merged
Merged: 12/29/2025
Merged by: @pirate
Base:
dev← Head:claude/issue-1484-20251229-2146📝 Commits (1)
329d185Fix: Make CUSTOM_TEMPLATES_DIR configurable again📊 Changes
3 files changed (+12 additions, -8 deletions)
View changed files
📝
archivebox/config/common.py(+4 -0)📝
archivebox/config/paths.py(+4 -4)📝
archivebox/core/settings.py(+4 -4)📄 Description
Summary
Resolves #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
Usage
Users can now configure the custom templates directory via:
CUSTOM_TEMPLATES_DIR = ./custom_templatesexport CUSTOM_TEMPLATES_DIR=/path/to/templatesGenerated with Claude Code
Summary by cubic
Restores CUSTOM_TEMPLATES_DIR configurability so users can override the templates directory. Fixes issue #1484 and updates the app to consistently use the configured path.
Bug Fixes
Migration
Written for commit
329d185d95. Summary will update automatically on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.