File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ gStatic uses Go’s html/template and text/template libraries as the basis for t
10
10
- [x] Write result to a public folder
11
11
- [x] Add support for layouts
12
12
- [x] Improve error handling
13
- - [ ] Add configuration
13
+ - [x ] Add configuration
14
14
- [ ] Add documentation on how to do templates
15
15
16
16
## Common language
17
17
18
- * Source is the folder that has all the html files.
19
- * Target is the folder where the website will be written.
18
+ * sourceFolder is the folder that has all the html files.
19
+ * targetFolder is the folder where the website will be written.
20
20
* Template is an Html file.
21
21
* Data-source is a file that variables to be use inside the html files.
22
22
@@ -34,4 +34,12 @@ Example
34
34
| ------------- | -------------| -----|
35
35
| index.html | index.yaml | index.html will be rendered using variables on index.yaml |
36
36
| aboutus.html | aboutus.yaml | aboutus.html will be rendered using variables on aboutus.yaml |
37
- | contactus.html | if no yaml file for contactus | contactus.html will be copied to Target as it is |
37
+ | contactus.html | if no yaml file for contactus | contactus.html will be copied to Target as it is |
38
+
39
+ ## Usage
40
+
41
+ > gstatic < ; sourceFolder> ; < ; targetFolder> ;
42
+
43
+ Use -h for help
44
+
45
+ > gstatic -h
You can’t perform that action at this time.
0 commit comments