arachne/link-new-tab

This package is abandoned and no longer maintained. No replacement package was suggested.

Latte macro for links that should open in new tab.

dev-master 2016-05-18 16:55 UTC

This package is auto-updated.

Last update: 2022-02-01 12:58:28 UTC


README

Build Status Coverage Status Latest stable Downloads this Month License

Latte macro for links that should open in new tab.

Inspired by this article.

Installation

The best way to install Arachne/LinkNewTab is using Composer.

$ composer require arachne/link-new-tab

Usage

// Your latte template.
<a n:linkNewTab="http://google.com">google</a>

// HTML result.
<a href="http://google.com" target="_blank" rel="noopener noreferrer">google</a>