Add lektor-scss

See tpo/web/lego#55
This commit is contained in:
kez 2023-01-11 15:27:52 -08:00
parent 7cb1ab2a2f
commit d250c29b28
7 changed files with 11 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
# css is built as part of the build process, doesn't need to be tracked
assets/static/css
node_modules
.sass-cache

View File

@ -1,5 +1,6 @@
---
variables:
LEKTOR_BUILD_FLAGS: scss
SITE_URL: www.torproject.org
STAGING_URL: www.staging.torproject.net
TRANSLATION_BRANCH: tpo-web

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "lego"]
path = lego
url = https://gitlab.torproject.org/tpo/web/lego.git
[submodule "packages/lektor-scss"]
path = packages/lektor-scss
url = https://gitlab.torproject.org/tpo/web/lektor-scss

View File

@ -1 +0,0 @@
../../lego/assets/static/css

2
configs/scss.ini Normal file
View File

@ -0,0 +1,2 @@
output_dir = assets/static/css
output_style = compressed

1
packages/lektor-scss Submodule

@ -0,0 +1 @@
Subproject commit 1d87086ce7dcbd0918df31143bf952338522d943

View File

@ -1,3 +1,4 @@
lektor-markdown-image-attrs==0.2.1
./lego/packages/i18n
./lego/packages/lektor-md-tag
./packages/lektor-scss