<commit_before>Metamagic is a simple Ruby on Rails plugin for creating meta tags.


== Installation

In your *Gemfile*:

  gem 'metamagic'
  
Then run <code>bundle install</code>.

== Example

In your <code>application.html.erb</code>:

  <head>
    <title>My Site</title>
    ...
    <%= metamagic :title => "My default title", :description => "My default description.", :keywords => %w(keyword1 keyword2 keyword3) %>
    ...
  </head>

For custom meta tags, just call it like this in the top of your view:
  
  <%
  meta :title => "My title", :my_custom_tag => "My custom value"
  %>
  
With custom properties:

  <%
  meta [:property => "og:image", :content => "http://mydomain.com/images/my_image.jpg"]
  %>

And then just put your content below.

Title meta tags will automatically be translated to <code><title></code> tags.

== Contributors

* <NAME> (creator)
* <NAME>


Copyright (c) 2010-2012 <NAME>, released under the MIT license<commit_msg>Update contributors<commit_after>Metamagic is a simple Ruby on Rails plugin for creating meta tags.


== Installation

In your *Gemfile*:

  gem 'metamagic'
  
Then run <code>bundle install</code>.

== Example

In your <code>application.html.erb</code>:

  <head>
    <title>My Site</title>
    ...
    <%= metamagic :title => "My default title", :description => "My default description.", :keywords => %w(keyword1 keyword2 keyword3) %>
    ...
  </head>

For custom meta tags, just call it like this in the top of your view:
  
  <%
  meta :title => "My title", :my_custom_tag => "My custom value"
  %>
  
With custom properties:

  <%
  meta [:property => "og:image", :content => "http://mydomain.com/images/my_image.jpg"]
  %>

And then just put your content below.

Title meta tags will automatically be translated to <code><title></code> tags.

== Contributors

* [See the list of contributors](https://github.com/lassebunk/metamagic/graphs/contributors)

Copyright (c) 2010-2012 <NAME>, released under the MIT license
{'fraction_non_alphanumeric': 0.13917004048582995, 'fraction_numerical': 0.011133603238866396, 'mean_word_length': 3.695961995249406, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 49, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3246506', 'n_tokens_mistral': 665, 'n_tokens_neox': 617, 'n_words': 210}