1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207 | diff --git a/md/tools/paddex.md b/md/tools/paddex.md
deleted file mode 100644
index 4386d80..0000000
--- a/md/tools/paddex.md
+++ /dev/null
@@ -1,201 +0,0 @@
-{% extends "layout.html" %}
-{% block title %} Paddex {% endblock %}
-{% block content %}
-
-# >**paddex**
-
-A simple static site generator engine.
-It converts Markdown files into HTML pages using [Jinja2](https://jinja.palletsprojects.com/) templating — configured entirely from a single `config.toml` file.
-
-[](https://ko-fi.com/pix66)
-
-# >**Build**
-
-```bash
-make
-```
-
-This will compile the tools and place the binaries in `bin/`.
-
-# >**Clean**
-
-For binaries:
-```bash
-make clean
-```
-
-For generated static files:
-```bash
-./paddex --clean
-```
-
-# >**Config**
-
-Edit `config.toml` to set your variables and paths:
-
-```toml
-[context]
-name = "Alice"
-age = 18
-
-[settings]
-layout_file = "./layout.html"
-md_dir = "./src"
-pages_dir = "./pages"
-```
-
-- `[context]` — variables available inside your templates
-- `[settings]` — paths used by the engine
-
-# >**Project Structure**
-
-Paddex mirrors your source directory into the output directory:
-
-```
-src/
-├── index.md → pages/index.html
-├── about.md → pages/about.html
-└── tools/
- └── tool.md → pages/tools/tool.html
-```
-
-Any nesting depth is supported.
-
-# >**Context — Passing Data to Templates**
-
-Everything defined under `[context]` in `config.toml` becomes available in your templates via Jinja2 syntax.
-
-# >**Simple Values**
-
-```toml
-[context]
-name = "Alice"
-age = 18
-joker = "potato"
-```
-
-```html
-Hello, {{ name }}!
-You are {{ age }} years old.
-```
-
-# >**Arrays & For Loops**
-
-```toml
-[context]
-users = ["Alice", "Bob", "Charlie"]
-```
-
-```html
-<ul>
-{% for user in users %}
- <li>{{ user }}</li>
-{% endfor %}
-</ul>
-```
-
-# >**Tables of Objects**
-
-For structured data, use TOML's array-of-tables syntax:
-
-```toml
-[[context.users]]
-name = "Alice"
-role = "admin"
-
-[[context.users]]
-name = "Bob"
-role = "editor"
-```
-
-```html
-{% for user in users %}
- <p>{{ user.name }} — {{ user.role }}</p>
-{% endfor %}
-```
-
-# >**Nested Tables**
-
-```toml
-[context.site]
-title = "My Site"
-description = "A cool website"
-```
-
-```html
-<title>{{ site.title }}</title>
-<meta name="description" content="{{ site.description }}">
-```
-
-# >**Conditionals**
-
-```html
-{% if age >= 18 %}
- <p>Welcome!</p>
-{% else %}
- <p>Access denied.</p>
-{% endif %}
-```
-
-# >**Layouts**
-
-Define a shared base layout in `config.toml`:
-
-```toml
-[settings]
-layout_file = "./layout.html"
-```
-
-Your `layout.html`:
-
-```html
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <title>{{ site.title }}</title>
-</head>
-<body>
- {% block content %}{% endblock %}
-</body>
-</html>
-```
-
-Extend it in any page:
-
-```html
-{% extends "layout.html" %}
-
-{% block content %}
-# Hello, {{ name }}!
-{% endblock %}
-```
-
-# >**HTML in Markdown**
-
-You can freely use raw HTML tags inside `.md` files. They pass through the engine untouched and render correctly in the final output.
-
-```markdown
-# My Page
-
-Normal **Markdown** here.
-
-<div class="highlight">
- <p>Raw HTML works fine too.</p>
-</div>
-```
-
-> HTML tags are not sanitized or stripped — you have full control over your markup.
-
-# >**Quick Reference**
-
-| Feature | Syntax |
-|---------|--------|
-| Variable | `{{ name }}` |
-| For loop | `{% for item in list %}` ... `{% endfor %}` |
-| Conditional | `{% if condition %}` ... `{% endif %}` |
-| Extend layout | `{% extends "layout.html" %}` |
-| Content block | `{% block content %}` ... `{% endblock %}` |
-| Nested value | `{{ site.title }}` |
-
-{% endblock %}
|