How to access the page front-matter data in 11ty from the code of a custom tag (shortcode)?

前端 未结 0 457
傲寒
傲寒 2021-01-17 21:47

In Eleventy (11ty) the page source can define custom data in it\'s front-matter. E.g.:

---
title: this is front-matter data
---
Page content
{% myCustomTag %}         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题