📄️ Getting Started
Let's discover eleventy-plugin-metagen in less than 5 minutes.
📄️ Plugin Usage
Providing all of the supported arguments to metagen shown in the intro is recommended for baseline social share. If you want to add more metadata that isn't shown in the basic introduction example, see plugin options for supported tags or create your own custom tags. You might only need a few `` tags instead of the whole set, simply provide the arguments you need and the ones not included won't be generated.
📄️ Use Your Data
To make your page metadata dynamic, you can use template data from front matter or any data source as arguments to the shortcode in Nunjucks templates without quotes or curly braces. In the example below, I define some frontmatter and then use my template variables in the shortcode arguments.