Skip to content
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

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

Open
ashokdey opened this issue Aug 9, 2022 · 3 comments

Comments

@ashokdey
Copy link

ashokdey commented Aug 9, 2022

  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
Copy link

jesselawson commented Sep 21, 2022

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
Copy link

tuvovan commented Apr 13, 2023

where is git-meta.html file located?

@jesselawson
Copy link

jesselawson commented Apr 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants