Skip to content

Commit

Permalink
Merge branch 'release/1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sommerregen committed Mar 24, 2015
2 parents 27ad5d0 + 9bcee87 commit dd5322b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.2.1
## 03/24/2015

3. [](#bugfix)
* Fixed active `mode` condition

# v1.2.0
## 02/21/2015

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: External Links
version: 1.2.0
version: 1.2.1
description: "This plugin adds small icons to external and mailto links, informing users the link will take them to a new site or open their email client."
icon: external-link
author:
Expand Down
2 changes: 1 addition & 1 deletion classes/ExternalLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function($match) use ($options) {
}

// Set class attribute
if ( count($classes) AND ($options->get('exclude.mode') === 'active') ) {
if ( count($classes) AND ($options->get('mode') === 'active') ) {
$a->setAttribute('class', implode(' ', $classes));
}

Expand Down
4 changes: 2 additions & 2 deletions external_links.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
/**
* External Links v1.2.0
* External Links v1.2.1
*
* This plugin adds small icons to external and mailto links, informing
* users the link will take them to a new site or open their email client.
*
* Licensed under MIT, see LICENSE.
*
* @package External Links
* @version 1.2.0
* @version 1.2.1
* @link <https://github.com/sommerregen/grav-plugin-external-links>
* @author Benjamin Regler <[email protected]>
* @copyright 2015, Benjamin Regler
Expand Down

0 comments on commit dd5322b

Please sign in to comment.