From 69f90541ec6ed97456904318c34965bcc72a196b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 27 Jan 2024 21:55:27 +0200 Subject: [PATCH] static: remove symlinks --- app/e11sync/settings.py | 3 +++ app/e11sync/static/style.css | 1 - blog/assets/grids-responsive.css | 1 - blog/assets/pure.css | 1 - blog/assets/style.css | 1 - blog/assets/style.scss | 1 - blog/config.yaml | 4 ++++ 7 files changed, 7 insertions(+), 5 deletions(-) delete mode 120000 app/e11sync/static/style.css delete mode 120000 blog/assets/grids-responsive.css delete mode 120000 blog/assets/pure.css delete mode 120000 blog/assets/style.css delete mode 120000 blog/assets/style.scss diff --git a/app/e11sync/settings.py b/app/e11sync/settings.py index 8d0a3ea..45a3229 100644 --- a/app/e11sync/settings.py +++ b/app/e11sync/settings.py @@ -110,8 +110,11 @@ USE_TZ = True STATIC_URL = 'static/' +STATICFILES_DIRS = [BASE_DIR / ".." / "static"] + STATICFILES_FINDERS = [ "django.contrib.staticfiles.finders.AppDirectoriesFinder", + "django.contrib.staticfiles.finders.FileSystemFinder", ] STORAGES = { diff --git a/app/e11sync/static/style.css b/app/e11sync/static/style.css deleted file mode 120000 index b296d1a..0000000 --- a/app/e11sync/static/style.css +++ /dev/null @@ -1 +0,0 @@ -../../../static/style.css \ No newline at end of file diff --git a/blog/assets/grids-responsive.css b/blog/assets/grids-responsive.css deleted file mode 120000 index a7d8bf1..0000000 --- a/blog/assets/grids-responsive.css +++ /dev/null @@ -1 +0,0 @@ -../../static/grids-responsive.css \ No newline at end of file diff --git a/blog/assets/pure.css b/blog/assets/pure.css deleted file mode 120000 index 1e0a97e..0000000 --- a/blog/assets/pure.css +++ /dev/null @@ -1 +0,0 @@ -../../static/pure.css \ No newline at end of file diff --git a/blog/assets/style.css b/blog/assets/style.css deleted file mode 120000 index b002e9c..0000000 --- a/blog/assets/style.css +++ /dev/null @@ -1 +0,0 @@ -../../static/style.css \ No newline at end of file diff --git a/blog/assets/style.scss b/blog/assets/style.scss deleted file mode 120000 index 8bc72e7..0000000 --- a/blog/assets/style.scss +++ /dev/null @@ -1 +0,0 @@ -../../static/style.scss \ No newline at end of file diff --git a/blog/config.yaml b/blog/config.yaml index 05d5471..57b813f 100644 --- a/blog/config.yaml +++ b/blog/config.yaml @@ -25,3 +25,7 @@ outputFormats: RSS: mediatype: "application/rss" baseName: "rss" +module: + mounts: + - source: ../static + target: assets