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

Merge branch...

Merge branch '425-extension-download-links-should-have-rel-nofollow-or-be-excluded-via-robots-txt' into 'develop'

Resolve "Extension download links should have rel="nofollow" or be excluded via robots.txt"

Closes #425

See merge request t3o/ter!488
parents 6c3b653f b39f17a9
Pipeline #9086 passed with stages
in 9 minutes and 30 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