agave-generator 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,6 +72,22 @@ Available themes:
|
|
|
72
72
|
- **spice** - Psychedelic melange, molten oranges and gold shimmer
|
|
73
73
|
- **randomphoto** - Random cover photo with a light palette
|
|
74
74
|
|
|
75
|
+
## Example Site with Theme Previews
|
|
76
|
+
|
|
77
|
+
The `example/` directory contains a demo site with preview pages for every built-in theme. To build it:
|
|
78
|
+
|
|
79
|
+
```console
|
|
80
|
+
cd example
|
|
81
|
+
bash build-examples.sh
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
This generates the main site and a themed preview page for each theme at `public/themes/<theme>/`. To view it locally:
|
|
85
|
+
|
|
86
|
+
```console
|
|
87
|
+
agave -m markdown -p public -s
|
|
88
|
+
# Visit http://localhost:8080/ and click through the Theme Gallery
|
|
89
|
+
```
|
|
90
|
+
|
|
75
91
|
## Full Customization
|
|
76
92
|
|
|
77
93
|
If you didn't find a theme for you you can add any base HTML and CSS you would like.
|