www
www copied to clipboard
error calling markdownify: text is already rendered, repeating it may cause infinite recursion
- Cloned the repo
- Followed the instructions for installing packages
- Tried running
pnpm dev
Error: Error building site: "/www/content/journals/student-highlight-gabrielle-chang/index.md:1:1": "www/layouts/_default/_markup/render-image.html:3:41": execute of template failed: template: _default/_markup/render-image.html:3:41: executing "_default/_markup/render-image.html" at <markdownify>: error calling markdownify: text is already rendered, repeating it may cause infinite recursion
You're getting this error because the git-meta.html shortcode relies on environment variables that are not present in this repo (nor should they be). If you remove all the calls to gentenv in layouts/shortcodes/git-meta.html, it should work for you.
where is git-meta.html file located?
When looking for a particular file in a repo, you can set the search to only include the local repository. With this search, it's the second result (layouts/shortcodes/git-meta.html).