polish: copy_blocks_css minors + record editor dual-source observation
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -38,7 +38,8 @@ def output_path(dist,route):
|
||||
|
||||
def copy_blocks_css(theme_dir,dist_assets):
|
||||
"""Theme-provided blocks.css wins; platform default is the fallback."""
|
||||
src=theme_dir/'blocks.css' if (theme_dir/'blocks.css').is_file() else ROOT/'app'/'static'/'blocks.css'
|
||||
candidate=theme_dir/'blocks.css'
|
||||
src=candidate if candidate.is_file() else ROOT/'app'/'static'/'blocks.css'
|
||||
shutil.copy2(src,dist_assets/'blocks.css')
|
||||
|
||||
def link(path):
|
||||
|
||||
Reference in New Issue
Block a user