Code Monkey home page Code Monkey logo

Comments (2)

Teddy-van-Jerry avatar Teddy-van-Jerry commented on May 23, 2024

After the release of Next 13, my suggestion would be to upgrade to app router (instead of page router), and then there is Metadata provided by Next for integrating og:image in meta tags. Check out the migration link here: https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration

from react-resume-template.

tbakerx avatar tbakerx commented on May 23, 2024

This ☝🏼 is a good and more complete option until I have a chance to update the template itself. As an alternative and simpler solution, there is an ogImageUrl attribute available in the HomepageMeta interface in data.tsx. You can set this with an image hosted elsewhere, or put your image in the /src/images folder and import it as I've done with the portfolio and other items in data.tsx.

As a note if you go this route, there is also a twitterImageUrl attribute that functions the same but will work for twitter share cards.

from react-resume-template.

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.