Skip to content

A meteor package that makes it easy to manage meta-data

Notifications You must be signed in to change notification settings

halilertekin/blaze-meta

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blaze-meta

Gitter

A meteor package that makes it easy to manage meta-data

If you're looking for iron-router integration you should check out https://atmospherejs.com/lookback/seo

meteor add yasinuslu:blaze-meta
Meta.config({
  options: {
    title: "Default Title",
    suffix: "Suffix"
  }
});

Meta.setTitle("") => "Default Title"
Meta.setTitle("test") => "test | Suffix"

Meta.set("og:title", "Title");
Meta.set("og:description", "Description");

Meta.unset("og:title");

or

Meta.set({
  name: 'property',
  property: 'og:title',
  content: 'Titleee'
});

or

Meta.set([
  {
    name: "name",
    property: "apple-mobile-web-app-capable",
    content: "yes"
  },
  {
    name: "property",
    property: "og:locale",
    content: "en_GB"
  }
]);

which results in:

<meta name="apple-mobile-web-app-capable" content="yes">

It will be updated on DOM automatically.

About

A meteor package that makes it easy to manage meta-data

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.9%
  • HTML 4.6%
  • CSS 0.5%