
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
astro-seo-meta
Advanced tools
This Astro component makes it easy to add tags that are relevant for search engine optimization (SEO) to your pages.
It supports Facebook, Twitter, Open Graph, and meta
tags.
Install using pnpm:
pnpm add astro-seo-meta
Or using npm:
npm install astro-seo-meta
Or using yarn:
yarn add astro-seo-meta
To add a base set of SEO tags in any of your Astro pages, import Astro Seo
and then use the component inside the <head>
section of your HTML:
---
import { Seo } from 'astro-seo-meta';
---
<html lang="en">
<head>
<Seo
title="My astro website"
description="My fast astro website"
icon="/favicon.ico"
/>
</head>
<body>
<h1>Hello from astro</h1>
</body>
</html>
<Seo>
Name | Required | Example | Description |
---|---|---|---|
title | false | "My Astro website" | Page title. |
description | false | "My blazing fast Astro website" | Description of the page. |
keywords | false | ["website", "blog", "astro"] | Array of keywords. |
icon | false | "/favicon.ico" | Tab icon URL. |
themeColor | false | "#000000" | Browser theme color. |
colorScheme | false | "light" | Preferred color scheme. |
robots | false | "index, follow" | string of robots directives (e.g., index , noindex , follow ). |
facebook.image | false | "/facebook.png" | Facebook share image. |
facebook.url | false | "https://astro.build" | Page URL. |
facebook.type | false | "website" | Type of resource. See all types. |
twitter.image | false | "/twitter.png" | Twitter share image. |
twitter.site | false | "@astrodotbuild" | Twitter handle of the publishing site. |
twitter.card | false | "summary" | Format of Twitter share card. See all types. |
All of the Seo
props are optional. If a prop is not provided, the associated meta tag will not be rendered.
// renders no seo tags
<Seo />
// renders all seo tags
<Seo
title="My Astro website"
description="My blazing fast astro website"
keywords={['website', 'blog', 'astro']}
icon="/favicon.ico"
themeColor="#000000"
colorScheme="light"
robots="index, follow"
facebook={{
image: '/facebook.png',
url: 'https://astro.build',
type: 'website'
}}
twitter={{
image: '/twitter.png',
site: '@astrodotbuild',
card: 'summary'
}}
/>
// renders some seo tags
<Seo
title="My Astro website"
description="My blazing fast astro website"
keywords={['website', 'blog', 'technology']}
/>
This package adds all the necessary and SEO-relevant HTML tags inside your page's <head>
tag.
Please see the changelog for more information on what has changed recently.
Astro Seo Meta is heavily inspired by Next SEO and all the amazing work the Brad Garropy is doing developing it. Thanks Brad! ❤️
Also great thanks to Jonas Schumacher Author of Astro SEO. ❤️
FAQs
Astro seo provides a <Seo> component to update meta tags
The npm package astro-seo-meta receives a total of 478 weekly downloads. As such, astro-seo-meta popularity was classified as not popular.
We found that astro-seo-meta demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.