File tree 3 files changed +14
-0
lines changed
3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ [watch ]
2
+ ignore = [
3
+ " .git" ,
4
+ " .githooks" ,
5
+ " style" ,
6
+ " extras" ,
7
+ " gen_assets" ,
8
+ " src/extras" ,
9
+ " build.rs" ,
10
+ ]
11
+
1
12
[[hooks ]]
2
13
stage = " pre_build"
3
14
command = " sh"
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ fn generate_comunity(path: PathBuf) {
89
89
brand_src,
90
90
brand_alt,
91
91
} = t;
92
+ let brand_src = brand_src. replace ( "./" , "img/" ) ;
92
93
write ! (
93
94
out,
94
95
r#"
@@ -162,6 +163,7 @@ fn generate_projects(path: PathBuf) {
162
163
brand_as_letter,
163
164
button_bg_color,
164
165
} = t;
166
+ let brand_src = brand_src. replace ( "./" , "img/" ) ;
165
167
write ! (
166
168
out,
167
169
r#"
Original file line number Diff line number Diff line change 71
71
data-trunk
72
72
rel ="copy-dir "
73
73
href ="/gen_assets/ "
74
+ data-target-path ="img "
74
75
/>
75
76
< link rel ="preconnect " href ="https://fonts.googleapis.com " />
76
77
< link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
You can’t perform that action at this time.
0 commit comments