executebig / www

Execute Big 2.0, with a minimalistic vision and a clearer focus.
https://executebig.org
MIT License
23 stars 8 forks source link

error calling markdownify: text is already rendered, repeating it may cause infinite recursion #212

Open ashokdey opened 2 years ago

ashokdey commented 2 years ago
  1. Cloned the repo
  2. Followed the instructions for installing packages
  3. 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
jesselawson commented 1 year ago

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.

tuvovan commented 1 year ago

where is git-meta.html file located?

jesselawson commented 1 year ago

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).