foundation / foundation/panini

Custom data on partials

Open
#147 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
593
Forks
104
PR merge metrics
No merged PRs in 30d

Description

Im trying to create one partial into another, and i want to put panini's yml custom data in the head of the file.

Here's an example

partials/home_cards_es.html
```
---
btn: COMPRAR
---
{{> home_cards}}
```

partials/home_cards_en.html
```
---
btn: BUY
---
{{> home_cards}}
```

Is there a way to do this?

Thanksssss

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.