File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Validate
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
7
pull_request : {}
8
8
9
9
jobs :
14
14
# See https://github.com/ruby/setup-ruby/issues/291
15
15
GLOBAL_GEMS : 1
16
16
steps :
17
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v4
18
18
with :
19
19
submodules : recursive
20
20
31
31
docker :
32
32
runs-on : ubuntu-latest
33
33
steps :
34
- - uses : actions/checkout@v2
34
+ - uses : actions/checkout@v4
35
35
36
36
- name : Build container
37
37
run : docker-compose build
Original file line number Diff line number Diff line change 35
35
task :submodules => [ '_sass/brand/.git' ]
36
36
37
37
task :dev => [ :dependencies , :submodules ] do
38
- sh ( 'bundle exec jekyll serve --host 0.0.0.0 --drafts --config _config.yml' )
38
+ sh ( 'bundle exec jekyll serve --host 0.0.0.0 --drafts --config _config.yml,_dev.yml ' )
39
39
end
40
40
41
41
task :build => [ :dependencies , :submodules ] do
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ social:
52
52
icon : tiktok
53
53
link : https://www.tiktok.com/@studentrobotics
54
54
55
+ user_tracking : true
56
+
55
57
exclude :
56
58
- README.md
57
59
- Rakefile
Original file line number Diff line number Diff line change
1
+ user_tracking : false
Original file line number Diff line number Diff line change 10
10
{% endfor %}
11
11
{% endif %}
12
12
13
- < script defer data-domain ="studentrobotics.org " src ="https://plausible.io/js/plausible.js "> </ script >
13
+ {% if site.user_tracking %}
14
+ < script defer data-domain ="studentrobotics.org " src ="https://plausible.io/js/plausible.js "> </ script >
15
+ {% endif %}
14
16
< script > window . plausible = window . plausible || function ( ) { ( window . plausible . q = window . plausible . q || [ ] ) . push ( arguments ) } </ script >
15
17
16
18
< script src ="{{ '/js/navigation.js' | prepend: site.baseurl }} "> </ script >
You can’t perform that action at this time.
0 commit comments