Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📌 Overriding metadata / product details #131

Open
danmindru opened this issue Nov 22, 2024 · 1 comment
Open

📌 Overriding metadata / product details #131

danmindru opened this issue Nov 22, 2024 · 1 comment
Labels
✨ tutorial Shows how something is done.

Comments

@danmindru
Copy link
Owner

danmindru commented Nov 22, 2024

Usually, you only need to add 1 line to the README to submit a deal.

However, in some cases we might not be able to fetch the correct image.

It is possible to make a PR with overrides for:

  • metaTitle
  • metaDescription
  • image (og:image)
  • logo
  • tags

How? You need to create a PR and add your overrides under /shipixen/data/config/product-overrides.js
Do by example.

Overriding metadata

Find your product slug (search for it on the Rare Big Deals website or find the .mdx file under /shipixen/data/products. The .mdx file name is your slug.

Add content for one or more properties, such as metaTitle, metaDescription or tags

  'link-building-software': {
      tags: ['SEO', 'Optimization', 'Marketing', 'Backlinks'],
      metaTitle: 'LinkDR: Powerful Link Building Software for SEO',
      metaDescription:
        "Boost your SEO with LinkDR's powerful link building software. Automate outreach, track backlinks, and scale your backlink outreach.",
    },

Raise a PR with your changes, it'll be picked up automatically.

Overriding images, logo

  1. Add your images under:
  • shipixen/public/static/images/overrides/[slug]/logo.png for the logo
  • and/or shipixen/public/static/images/overrides/[slug]/ogImage.png for the banner image

Images need to be png. For the slug, see instructions in the section above: Overriding metadata

  1. Add your overrides to /shipixen/data/config/product-overrides.js

Add either image or logo paths to overrides, under the property matching your slug.
For example

'link-building-software': {
      logo: '/public/static/images/overrides/link-building-software/logo.png',
      ogImage:
        '/public/static/images/overrides/link-building-software/ogimage.png',
    },
@danmindru danmindru added the ✨ tutorial Shows how something is done. label Nov 22, 2024
@RomarDev

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ tutorial Shows how something is done.
Projects
None yet
Development

No branches or pull requests

2 participants