Skip to content

groenroos/eleventy-global-macro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eleventy global macro test

Both projects build two routes, /nunjucks and /markdown. Each relies on a globally loaded macro, component(), defined in _includes/component.njk.

The Eleventy 2.0.1 project uses the approach from this comment to globally inject importing the component() macro from component.njk.

The Eleventy 3.0.0 project attempts to use the slightly modified approach suggested here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published