Commit b39f17a9 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Add rel="nofollow" to download links

parent 84533b2b
Pipeline #9016 passed with stages
in 7 minutes and 42 seconds
......@@ -150,7 +150,7 @@
</div>
<div class="col-md-4">
<f:if condition="{extension.lastVersion.reviewState} != -1">
<f:link.action class="btn btn-primary btn-block btn-lg" controller="Extension" action="download" arguments="{extension : extension, versionString : extension.lastVersion.versionString, format : 'zip'}">
<f:link.action rel="nofollow" class="btn btn-primary btn-block btn-lg" controller="Extension" action="download" arguments="{extension : extension, versionString : extension.lastVersion.versionString, format : 'zip'}">
<strong>Download
<span itemprop="softwareVersion">{extension.lastVersion.versionString}</span></strong>
</f:link.action>
......
......@@ -82,7 +82,7 @@
<div class="btn-group d-flex" role="group">
<f:if condition="{document.insecure_boolS}">
<f:else>
<a class="btn {f:if(condition:exactMatchFound, then: 'btn-primary-lg', else: 'btn-primary')} btn-block mb-0 w-100" href="{document.extensionDownloadZipUrl_stringS}" title="Downlad version {document.extensionVersion_stringS} of TYPO3 extension {document.extensionKey_stringS}">
<a rel="nofollow" class="btn {f:if(condition:exactMatchFound, then: 'btn-primary-lg', else: 'btn-primary')} btn-block mb-0 w-100" href="{document.extensionDownloadZipUrl_stringS}" title="Downlad version {document.extensionVersion_stringS} of TYPO3 extension {document.extensionKey_stringS}">
<i class="fa fa-download"></i> v{document.extensionVersion_stringS}
</a>
</f:else>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment