add stub for currentUser

This commit is contained in:
konnorrogers
2025-06-30 13:11:31 -04:00
parent 0b407de3da
commit 8cf1f95248

View File

@@ -123,6 +123,9 @@ export default async function (eleventyConfig) {
/** This largely mimics what an app would do and just stubs out what we don't care about. */
return nunjucks.renderString(content, {
// Stub the server EJS shortcodes.
currentUser: {
hasPro: false
},
server: {
head: '',
loginOrAvatar: '',