Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 646 Bytes
id title
seo-metadata
Metadata

Basic meta tag data is inserted by the MetaData.init method which uses the dom core package to manipulate document.head.

Add additional meta objects using Reaction.DOM.setMetaTag as detailed below.

Reaction.DOM.setMetaTag({
  name: "keywords",
  content: shop.keywords.toString()
});

Default descriptions and keywords for a Shop can be set in Dashboard Core Settings.

A note on testing: Use $("meta") in the client console to view and test changes to the head meta elements. This is the head data that will be rendered in conjunction with the Meteor package spiderable.

You can’t perform that action at this time.