Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.
/ blaze-meta Public archive

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

License

Notifications You must be signed in to change notification settings

yasinuslu/blaze-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blaze-meta

Gitter

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

This package is currently unmaintained

This package will probably be deprecated in near future, check out https://github.com/kadirahq/meteor-dochead

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

License

Stars

Watchers

Forks

Packages

No packages published