Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maikenegreiros/page-assembler
A simple code to assemble html files
https://github.com/maikenegreiros/page-assembler
Last synced: about 1 hour ago
JSON representation
A simple code to assemble html files
- Host: GitHub
- URL: https://github.com/maikenegreiros/page-assembler
- Owner: maikenegreiros
- Created: 2018-05-17T21:01:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-21T18:28:57.000Z (over 6 years ago)
- Last Synced: 2024-10-13T06:21:04.311Z (about 1 month ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# page-assembler
A simple code to assemble html files# Example
```
<-- template.html -->
Template
@include ../components/navbar.html
```
```
<-- navbar.html -->
```
```
$PageAssembler = new PageAssembler;
$PageAssembler->build(__DIR__."/layouts/template.html", __DIR__."/newfile.html");
```
A file named "newfile.html" will be generated
```
<-- newfile.html -->
Template
```