GithubHelp home page GithubHelp logo

Comments (4)

apvarun avatar apvarun commented on June 4, 2024 1

The issue is because of the Hugo version difference in your local machine and netlify. Hugo updated their shortcode to include user ID also for tweet in newer versions.

So if its working for you locally, make sure to set the same hugo version in netlify also. Refer: https://docs.netlify.com/integrations/frameworks/hugo/#hugo-version

from blist-hugo-theme.

apvarun avatar apvarun commented on June 4, 2024 1

This is intentional. In the example site content, we use twitter_simple hugo shortcode instead of tweet shortcode.
The simple one avoids loading twitter's javascript into the page thereby preventing any kind of tracking from them.

from blist-hugo-theme.

chris-gillatt avatar chris-gillatt commented on June 4, 2024

@apvarun -You were correct with my site, Netlify was building on 0.83 and my local version was 0.101, so thanks for that. The site now builds and the tweet loads and the embedded image renders correctly. 👍

The tweet is still broken on your test site though. Could it be a simialr issue? https://blist.vercel.app/en/blog/rich-content

Screenshot 2022-08-17 at 21 37 06

The tweet should render like so (complete with the image)

Screenshot 2022-08-17 at 21 38 09

from blist-hugo-theme.

chris-gillatt avatar chris-gillatt commented on June 4, 2024

Great - thanks for the explaination 👍

from blist-hugo-theme.

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.