refactor!: migrate theme assets from css to scss and centralize deprecation detection (#735)

**Breaking changes**:

1. Legacy custom style/script files are no longer loaded automatically.
2. Users must migrate custom files to:
   - `custom.scss`
   - `override.scss`
   - `_variables.scss`
   - `assets/js/custom.js`

**Migration guide**:

1. Move `assets/css/_custom.scss` to `assets/scss/custom.scss`.
2. Move `assets/css/_override.scss` to `assets/scss/override.scss`.
3. Keep variables in `assets/scss/_variables.scss`.
4. Move `assets/js/_custom.js` to `assets/js/custom.js`.
5. Rebuild site and verify no deprecation warnings remain.
This commit is contained in:
Cell
2026-04-19 13:10:39 +08:00
parent b406a569f8
commit 09e08d0772
121 changed files with 426 additions and 505 deletions
+1 -1
View File
@@ -252,5 +252,5 @@
{{- end -}}
{{- define "comments" -}}
{{- partial "layout/comment.html" . -}}
{{- partial "layouts/comment.html" . -}}
{{- end -}}