Skip to content

deprecated-packages/LinkNewTab

Repository files navigation

Arachne/LinkNewTab

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>

About

[DEPRECATED] Latte macro for links that should open in new tab.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published