Add lektor-scss

This commit is contained in:
kezzle 2023-01-11 23:14:05 +00:00
parent 0c2efb0aa0
commit ad3fdf2819
6 changed files with 10 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 node_modules
.sass-cache .sass-cache

View File

@ -1,5 +1,6 @@
--- ---
variables: variables:
LEKTOR_BUILD_FLAGS: scss
SITE_URL: support.torproject.org SITE_URL: support.torproject.org
STAGING_URL: support.staging.torproject.net STAGING_URL: support.staging.torproject.net
TRANSLATION_BRANCH: support-portal TRANSLATION_BRANCH: support-portal

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "lego"] [submodule "lego"]
path = lego path = lego
url = https://gitlab.torproject.org/tpo/web/lego.git 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