-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generator plugin #215
Comments
I don't think this needs a separate plugin. Just expose a global |
It could be added to the "metas" plugin, for easy usage. |
Good idea! |
I just added the I'm not going to add other values for now. |
Gotcha. I do think it would be useful to expose the Lume version as a global variable. |
You can do it in the import { getLumeVersion } from "lume/core/utils.ts";
site.data("lume_version", getLumeVersion()); |
A plugin that inject the
lume
global variable with the lume version and other environment variables that can be used in the page, for example to create a<meta name="generator">
tag."Inspired" by https://www.11ty.dev/docs/data-eleventy-supplied/#eleventy-variable
The text was updated successfully, but these errors were encountered: