Skip to content

Commit f3fd8ce

Browse files
committed
don't show latest doc notice on search page
1 parent 8ab56fd commit f3fd8ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/perldoc.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
% }
188188
</div>
189189
% }
190-
% if (length $url_perl_version) {
190+
% if (length $url_perl_version and $module ne 'search') {
191191
<div class="leading-notice">
192192
You are viewing the version of this documentation from Perl <%= $url_perl_version %>. <%= link_to 'View the latest version' => url_with(current_doc_path) %>
193193
</div>

0 commit comments

Comments
 (0)