Add lektor-scss

See tpo/web/lego#55
This commit is contained in:
kez 2023-01-11 19:14:25 -08:00
parent ab96de9a8b
commit 7239348493
7 changed files with 23 additions and 2 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

14
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,14 @@
---
# TODO: uncomment these!
variables:
LEKTOR_BUILD_FLAGS: scss
#SITE_URL: site.torproject.org
#STAGING_URL: site.staging.torproject.net
#TRANSLATION_BRANCH: site-translation-branch
include:
- project: tpo/tpa/ci-templates
file:
- lektor.yml
# TODO: uncomment this too!
#- static-shim-deploy.yml

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
lego

@ -1 +1 @@
Subproject commit eed421981c7524670c61b0d5143f8670fa7631d5
Subproject commit 8ab1406ed107f7d02e245c66f061104afcfaeec2

1
packages/lektor-scss Submodule

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

View File

@ -1 +1,2 @@
./lego/packages/i18n
./packages/lektor-scss