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
Requires
- php: >=5.4.0
- latte/latte: ^2.3.0
- nette/application: ^2.3.0
- nette/di: ^2.3.0
Requires (Dev)
- arachne/bootstrap: ~0.2.1
- codeception/codeception: ~2.2.0@rc
This package is auto-updated.
Last update: 2022-02-01 12:58:28 UTC
README
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>