<commit_before># Middleman::Alias

Add alias/redirect information to your middleman pages and posts.

[![Gem Version](https://badge.fury.io/rb/middleman-alias.png)](http://badge.fury.io/rb/middleman-alias)

## Installation

Add this line to your application's Gemfile:

    gem 'middleman-alias'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install middleman-alias

## Usage

First you need to activate the module in your `config.rb`. *Make sure
that it is the LAST thing activated.* It's important that other modules
have the opportunity to do their own URL manipulations before the
alias redirect pages are generated.

```
activate :alias
```<commit_msg>Add build status badge<commit_after># Middleman::Alias

Add alias/redirect information to your middleman pages and posts.

[![Gem Version](https://badge.fury.io/rb/middleman-alias.png)](http://badge.fury.io/rb/middleman-alias)

[![Build Status](https://travis-ci.org/Octo-Labs/middleman-alias.png?branch=master)](https://travis-ci.org/Octo-Labs/middleman-alias)

## Installation

Add this line to your application's Gemfile:

    gem 'middleman-alias'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install middleman-alias

## Usage

First you need to activate the module in your `config.rb`. *Make sure
that it is the LAST thing activated.* It's important that other modules
have the opportunity to do their own URL manipulations before the
alias redirect pages are generated.

```
activate :alias
```
{'fraction_non_alphanumeric': 0.10463576158940398, 'fraction_numerical': 0.0, 'mean_word_length': 4.320422535211268, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3033048', 'n_tokens_mistral': 463, 'n_tokens_neox': 442, 'n_words': 161}