@kirigami/php-prepros 1.0.0 → 1.0.1
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 +3 -1
- package/package.json +1 -1
- package/src/prepros.js +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Build full static websites in PHP — with zero server, zero runtime dependency, zero compromise on expressiveness. Write your pages as regular PHP files, annotate them with a PHPDOC header, and let `php-prepros` compile everything to clean, deployable HTML.
|
|
6
6
|
|
|
7
|
+
It is the perfect solution for **GitHub Pages**. Since it runs entirely in Node.js, it is fully compatible with **GitHub Actions**, allowing you to automate your deployment pipeline effortlessly.
|
|
8
|
+
|
|
7
9
|
Part of the **Kirigami** project ecosystem. Other packages are coming soon.
|
|
8
10
|
|
|
9
11
|
[](https://www.npmjs.com/package/@kirigami/php-wasm)
|
|
@@ -142,7 +144,7 @@ Every page starts with a PHP docblock that drives metadata and data loading:
|
|
|
142
144
|
|
|
143
145
|
All annotations are injected as PHP variables (`$name`, `$title`, `$abstract`, …). You can define any custom annotation you need.
|
|
144
146
|
|
|
145
|
-
Anotations are also avaiables as variables in `before` and `
|
|
147
|
+
Anotations are also avaiables as variables in `before` and `after` php included files so you can write proper metas in the HTML header.
|
|
146
148
|
|
|
147
149
|
### Auto-loading data files
|
|
148
150
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirigami/php-prepros",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "PHP preprocessor for the Kirigami static site generator. Compile PHP page templates to clean, deployable HTML — with zero server dependency.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"kirigami",
|
package/src/prepros.js
CHANGED