Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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





```