Giter Club home page Giter Club logo

Comments (4)

bfcs avatar bfcs commented on June 20, 2024

the same issue found in generated search result page
source/_js/search-modal.js

 html += '<a class="link-unstyled" href="' + (post.link || post.permalink) + '">';

from hexo-theme-tranquilpeak.

LouisBarranqueiro avatar LouisBarranqueiro commented on June 20, 2024

👋 @bfcs, I would like to help you but I need more information. Could you please fill out the template to report a bug (including versions of your module, hexo, system, etc...)?

from hexo-theme-tranquilpeak.

bfcs avatar bfcs commented on June 20, 2024

Hi, @LouisBarranqueiro ,
The issue is environment independent. When you config the url in _config.yml, the result of post.permalink is https://bfcs.github.io/yyyy/mm/dd/title
image

so
scripts/filters/thumbnail_image_url.js

return urlFor(post.permalink + post.thumbnailImage);

result is https://bfcs.github.io/yyyy/mm/dd/title/thumbnailImage.png

but currently the site haven't deployed, so get the url will return a 404 error.

I suggest use relative path, /yyyy/mm/dd/title/thumbnailImage.png

from hexo-theme-tranquilpeak.

LouisBarranqueiro avatar LouisBarranqueiro commented on June 20, 2024

👋 @bfcs, could you please fill out the template to report a bug (including versions of your module, hexo, system, etc...)? I believe this problem is related to the version of Hexo because it works well on my side. Please re-open this issue when you updated the issue with the information needed.

from hexo-theme-tranquilpeak.

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.