Skip to content

Commit f23f06f

Browse files
test added for theme template injection
1 parent 9de9c41 commit f23f06f

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Ready to build a fast, **SEO-optimized static site**? Here’s how to get starte
2121
Clone the project to your machine:
2222

2323
```bash
24-
git clone https://github.com/nostack-dev/minitemplate.git
24+
git clone https://github.com/nostack-dev/minitemplate.git && cd minitemplate
2525
```
2626

2727
### 2. Create Your Project
@@ -51,18 +51,31 @@ To add pre-built, **pagespeed-optimized components** (such as a navigation bar o
5151
cd ./projects/my-awesome-site
5252
```
5353

54-
Then run the following command to add components from **DaisyUI**:
54+
Then run the following command to list all available MiniTemplate-Components that utilize **daisyUI**-Comnponents as HTML base. See [here](https://daisyui.com/components/button/):
5555

5656
```bash
57-
./run_add.sh [component_name]
57+
./run_add.sh
5858
```
5959

60-
- `[component_name]`: Name of the component (e.g., **navbar**, **footer**).
60+
You can choose between adding a template, a component or default components like sidebar, header, footer and navigation.
61+
62+
```bash
63+
./run_add.sh [defaults|component|template]
64+
```
6165

6266
Example:
6367

68+
Add a Button to your project (button.html):
69+
```bash
70+
./run_add.sh button
71+
```
72+
Add a the default template file (template_default.html):
73+
```bash
74+
./run_add.sh template_default.html
75+
```
76+
Adds a set of default components like header, footer, sidebar and default template:
6477
```bash
65-
./run_add.sh navbar
78+
./run_add.sh defaults
6679
```
6780

6881
### 4. Generate the Site

0 commit comments

Comments
 (0)