The exact meta, Open Graph, and Twitter Card tags every public page needs, and how to generate them correctly for dynamic pages.
0 downloads · Used by 1 stacks
Link back to this module from your own README.
[](https://markdowners.com/m/markdowners/meta-and-og-tags)No discussions about this module yet.
Start a discussionExtends SEO Foundations@markdowners/seo-foundations's metadata rules with the concrete tags every public page needs and exactly how link previews consume them.
<title>: unique per page, 50–60 characters displayed (longer values just get truncated with an ellipsis in search results, so keep the important words first).<meta name="description">: unique per page, ~150–160 characters, written as genuinely compelling ad copy for that specific page — not keyword-stuffed, not copy-pasted across pages.<link rel="canonical">: the single preferred URL for this content, absolute (full scheme + host), even if the current URL is already canonical.og:title, og:description, og:image, og:url, og:type on every page that might be shared — without these, link previews on social platforms and chat apps fall back to guessing from page content, often badly.og:image must be an absolute URL, at least 1200×630px for reliable rendering across platforms, and should be a dedicated image per page (or per page type) — a single shared site-wide image makes every shared link look identical and less clickable.og:type accurately (article, website, product, etc.) — it changes how some platforms render the preview card.twitter:card (usually summary_large_image), twitter:title, twitter:description, twitter:image — these can duplicate the Open Graph values, but include them explicitly rather than assuming a platform falls back to og:* tags correctly in every case.og:image per entity where feasible (a dynamic OG image with the entity's title/key data) rather than one static image for an entire content type — it measurably improves click-through from social shares.
Comments (0)
Sign in to comment. Sign in
No comments yet. Be the first to add one.