Giter VIP home page Giter VIP logo

Comments (3)

joshjohanning avatar joshjohanning commented on May 26, 2024

I'm seeing something very similar, @cotes2020, after upgrading to v6.5.0.

Here's some of my front matter:

img_path: /assets/screenshots/2022-03-08-my-post
image:
  path: ../my-other-post/security-overview-dark.png
  width: 100%
  height: 100%
  alt: my image
pin: false
---

The test command in the build and publish workflow fails with:

* At _site/posts/my-post/index.html:1:

  internal image /assets/screenshots/2023-02-28-my-other-post/security-overview-dark.png../2023-02-28-my-other-post/security-overview-dark.png does not exist

In this case, I'm referencing an image in a different folder relative to the img_path default.

The same thing happens when referencing relative image paths in the post as well (in addition to the front matter) with img_path set.

![image-light](./../2023-09-07-my-third-post/git-lfs-light.png){: .shadow }{: .light }
![image-light](./../2023-09-07-my-third-post/git-lfs-dark.png){: .shadow }{: .dark }
_image caption_

Test output:

* At _site/posts/my-third-post/index.html:9:

  internally linking to /assets/screenshots/2023-09-07-my-third-post/git-lfs-light.png./../2023-09-07-my-third-post/git-lfs-light.png, which does not exist

* At _site/posts/migrate-to-git-lfs/index.html:9:

  internally linking to /assets/screenshots/2023-09-07-my-third-post/git-lfs-dark.png./../2023-09-07-my-third-post/git-lfs-dark.png, which does not exist

from jekyll-theme-chirpy.

cotes2020 avatar cotes2020 commented on May 26, 2024

Hi @joshjohanning, #1553 should be able to fix this issue.

from jekyll-theme-chirpy.

joshjohanning avatar joshjohanning commented on May 26, 2024

@cotes2020 looks good to me 🚀 🎉 Thanks!

from jekyll-theme-chirpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.