Skip to content

Add parameters to your includes #6

@Zenoo

Description

@Zenoo

I started using simple-html-template recently, it's great.
However, it would be even greater if you could pass some parameters to your includes.

Example

index.html

...
<include src="partial/breadcrumb.html" title="Home" />
...

partial/breadcrumb.html

...
<variable name="title" />
...

This would result to Home being displayed inside the breadcrumb partial template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions