Giter VIP home page Giter VIP logo

Comments (5)

styxlab avatar styxlab commented on May 29, 2024

The relevant line is:

8:18:14 AM: error Error processing images in node Ghost__Page__5e64f0c86d0b073a49216457: 8:18:14 AM: wrong url: //inote-1251069384.cos.ap-nanjing.myqcloud.com/ghost/content/images/2020/03/23b4df21fef4c2fc.jpg

Problem is that, //inote-1251069384.cos.ap-nanjing.myqcloud.com/ghost/content/images/2020/03/23b4df21fef4c2fc.jpg is not a valid url. I'm not familiar with ghost-qcloud-cos, but you need to provide urls starting with http(s)://.

This projects uses createRemoteFileNode which is a function of gatsby-source-filesystem which expects urls starting with http(s)://.

from gatsby-theme-try-ghost.

styxlab avatar styxlab commented on May 29, 2024

I checked the docs for valid urls and urls starting with // are indeed within the specs. So, this is an issue with plugin gatsby-source-filesystem. Although this is better solved upstream, I have updated the plugin gatsby-plugin-ghost-images to rewrite urls starting with // into https://.

I tested this with the provided content API keys and I can build your site with gatsby-starter-try-ghost now. Please verify, and let me know if everything is as expecected. By the way, great looking content that you have! I'm also proud about how your images fade in due to the new gatsby-image feature that I implemented in gatsby-starter-try-ghost.

from gatsby-theme-try-ghost.

 avatar commented on May 29, 2024

thanks a lot styxlab , it was work well, but another problem, the ghost post is ok, but page not work.
like: https://inote.xyz/about

from gatsby-theme-try-ghost.

styxlab avatar styxlab commented on May 29, 2024

I checked your about page and the content is coming through. However, compared to the original about page the styling is different. It seems that you used some custom styles (either inline or modfied .hbs files). This project only supports the standard Casper page style, so this behaviour is expected.

If you want to style sites with this project, you can also do that with Gatsby by putting a custom about.js page in the local folder src/pages/. I have future plans to publish a tutorial on how to best customize sites with this project. In the meantime, please feel free to explore on your own.

from gatsby-theme-try-ghost.

 avatar commented on May 29, 2024

thanks i got it

from gatsby-theme-try-ghost.

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.