Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@bradgarropy/gatsby-plugin-seo
Advanced tools
SEO plugin for Gastby. Supports Facebook, Twitter, Open Graph, and meta
tags.
This package is installable from npm.
npm install @bradgarropy/gatsby-plugin-seo
Head over to the gatsby-config.js
file and add @bradgarropy/gatsby-plugin-seo
to the list of plugins
.
// gatsby-config.js
module.exports = {
siteMetadata: {
url: "https://bradgarropy.com",
title: "Brad Garropy",
description: "π‘ My home on the web.",
keywords: ["gatsby", "portfolio"],
twitter: "bradgarropy",
},
plugins: ["@bradgarropy/gatsby-plugin-seo"],
}
Some fields in siteMetadata
are also required.
Name | Description |
---|---|
url | Base url of the website. |
title | Document title shown in the browser. |
description | Meta description of the page. |
keywords | Keywords describing the page. |
twitter | Twitter handle, without the @ . |
This plugin also expects the default social media cards and favicon to be availabe at /facebook.png
, /twitter.png
, and /favicon.png
. This can be accomplished by placing these images in the static
directory.
static
βββ facebook.png
βββ favicon.png
βββ twitter.png
This plugin exports an <SEO>
component that can be used without any props
.
import SEO from "@bradgarropy/gatsby-plugin-seo"
const App = () => <SEO />
If you want to customize the SEO properties on each page, the <SEO>
component accepts three props
: title
, description
, and image
.
import SEO from "@bradgarropy/gatsby-plugin-seo"
const App = () => (
<SEO
title="Custom page title."
description="My custom description."
image="https://github.com/bradgarropy.png"
/>
)
π report bugs by filing issues
π’ provide feedback with issues or on twitter
ππΌββοΈ use my ama or twitter to ask any other questions
Brad Garropy π» π β οΈ π | Gem Kosan π» |
FAQs
π gatsby-plugin-seo
The npm package @bradgarropy/gatsby-plugin-seo receives a total of 0 weekly downloads. As such, @bradgarropy/gatsby-plugin-seo popularity was classified as not popular.
We found that @bradgarropy/gatsby-plugin-seo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.