- Fixed reference to undefined
url_matches
. - References that point to draft pages are rendered differently in production mode, and an info-level log message is generated
- The
match
option now searches all documents and pages, not just those in collections.
- Enhanced
match
so that if no label parameter is provided, the title of the matched web page is used. - Now dependent on jekyll_plugin_support v1.0.2+ for better error handling.
- Fixed an unqualified reference to
JekyllPluginHelper
. - Shortened the very long stack dump for an error condition.
- Make compatible with
jekyll_plugin_support
1.0.0
- Fixed missing
target="_blank"
for links without labels, whenblank
was specified.
- Fixed missing
rel="nofollow"
for links without labels.
- Implements the
page_title
option. - Renamed the
nomatch
key in_config.yml
todie_on_nomatch
. - Defines
@die_on_href_error
if thedie_on_href_error
key is present in_config.yml
. - Defines
@pry_on_href_error
if thepry_on_href_error
key is present in_config.yml
. - Now uses the
StandardError
handler introduced injekyll_plugin_support
v0.8.0.
- No longer blows up on error.
- Added
style
andclass
options.
- When only a URI is provided, the plugin now generates the
http
scheme for IP4 & IP6 loopback addresses likelocalhost
, and127.0.0.0
, as well as private IP4 addresses like 192.168.0.0 and 172.16.0.0; otherwise it generates thehttps
scheme.
- Added
label
option.
- Added References capability:
- Added
summary_exclude
keyword option tohref
tag. - Added
href_summary
tag.
- Added
- If a URL appears in more than one
href
with differentfollow
values a warning is logged.
- Added
shy
andwbr
options.
- Updated to
jekyll_plugin_support
v1.5.0
- Now dependent on
jekyll_plugin_support
- Updated to
jekyll_all_collections
plugin v0.2.0. - Fixed insidious bug where a valid link was not used properly.
- Added
blank
parameter.
-
Links with embedded spaces are now supported when the new 'url' named parameter is used. For example, instead of specifying:
{% href http://link.com with space.html some text %}
Instead specify (single and double quotes are equally valid):
{% href url="http://link.com with space.html" some text %}
-
URLs can now contain environment variable references. For example, if $domain and $uri are environment variables:
{% href url="http://$domain.html" some text %} {% href url="$uri" some text %}
- No longer abends if
plugin-vars
is not present in_config.yml
- Suppresses target and rel=nofollow attributes for mailto: links.
- Works from pre-computed
site['all_collections']
provided by a new dependency calledjekyll_all_collections
.
- Match now looks at all collections, not just posts
- Fixed match text
- Fixed bad reference when more than one URL matches
- Updated to
jekyll_plugin_logger
v2.1.0
- Fixed problem with URI rendering
- Fixed problem with
match
option
- Made into a Ruby gem and published on RubyGems.org as jekyll_href.
bin/attach
script added for debugging- Rubocop standards added
- Proper versioning and CHANGELOG.md added
- Initial version published