I have a custom layout where I assign data like this:
mylayout.html
{% assign data = "my data" %}
I’d like to use this data in the page that uses the layout:
mypage.md
---
layout: my layout
---
data: {{ data }}
When I do this, I get empty content. I’m assuming the page doesn’t know about the data
variable from the layout.