Eleventy 1.0 – Global Data via Plugins Example

A few days ago I blogged about a new Eleventy 1.0 feature that gives a new way to use global data. This new feature adds a method call, addGlobalData, that can be used in your eleventy.js config file. I said I thoug…


This content originally appeared on Raymond Camden and was authored by Raymond Camden

A few days ago I blogged about a new Eleventy 1.0 feature that gives a new way to use global data. This new feature adds a method call, addGlobalData, that can be used in your eleventy.js config file. I said I thought this was cool, but that I'd probably not use it. I'd rather have my global data living in my data folder where it's easier to see, easier to keep track of, and so forth.


This content originally appeared on Raymond Camden and was authored by Raymond Camden


Print Share Comment Cite Upload Translate Updates
APA

Raymond Camden | Sciencx (2021-11-07T18:00:00+00:00) Eleventy 1.0 – Global Data via Plugins Example. Retrieved from https://www.scien.cx/2021/11/07/eleventy-1-0-global-data-via-plugins-example/

MLA
" » Eleventy 1.0 – Global Data via Plugins Example." Raymond Camden | Sciencx - Sunday November 7, 2021, https://www.scien.cx/2021/11/07/eleventy-1-0-global-data-via-plugins-example/
HARVARD
Raymond Camden | Sciencx Sunday November 7, 2021 » Eleventy 1.0 – Global Data via Plugins Example., viewed ,<https://www.scien.cx/2021/11/07/eleventy-1-0-global-data-via-plugins-example/>
VANCOUVER
Raymond Camden | Sciencx - » Eleventy 1.0 – Global Data via Plugins Example. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/11/07/eleventy-1-0-global-data-via-plugins-example/
CHICAGO
" » Eleventy 1.0 – Global Data via Plugins Example." Raymond Camden | Sciencx - Accessed . https://www.scien.cx/2021/11/07/eleventy-1-0-global-data-via-plugins-example/
IEEE
" » Eleventy 1.0 – Global Data via Plugins Example." Raymond Camden | Sciencx [Online]. Available: https://www.scien.cx/2021/11/07/eleventy-1-0-global-data-via-plugins-example/. [Accessed: ]
rf:citation
» Eleventy 1.0 – Global Data via Plugins Example | Raymond Camden | Sciencx | https://www.scien.cx/2021/11/07/eleventy-1-0-global-data-via-plugins-example/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.