Dynamic page title & meta tags utility for Angular (w/server-side rendering)
Clone or download
Latest commit f6fbacf Jul 24, 2018

README.md

ngx-meta

Dynamic page title & meta tags generator for Angular

CircleCI coverage tested with jest Conventional Commits Greenkeeper badge Angular Style Guide

Please support this project by simply putting a Github star. Share this library with friends on Twitter and everywhere else you can.

ngx-meta updates the page title and meta tags every time the route changes, based on Angular app's route configuration.

  • When the Angular app uses server-side rendering, the meta tags and page titles generated by ngx-meta successfully appear on HTML source, due to its platform-free workflow. This allows the SPA to be crawled and rendered by the search engines, as well as sharing the website link on social networks (facebook, twitter, etc).
  • It also supports resolving values using a callback function to use a custom logic on the meta tag contents (http-get, @ngx-translate/core, etc.).

NOTICE

This 6.x.x branch is intented to work with Angular v6.x.x. If you're developing on a later release of Angular than v6.x.x, then you should probably choose the appropriate version of this library by visiting the master branch.

Packages:

Name Description NPM
@ngx-meta/core Dynamic page title & meta tags generator for Angular npm version

Examples

Contributing

If you want to file a bug, contribute some code, or improve documentation, please read up on the following contribution guidelines:

Thanks to

  • JetBrains, for their support to this open source project with free WebStorm licenses.

License

The MIT License (MIT)

Copyright (c) 2018 Burak Tasci