Skip to content

Commit

Permalink
Exclude Improve this Doc button on search page, references cakephp#1084
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Feb 12, 2014
1 parent 092dba9 commit 2cc5022
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion themes/cakephp/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@
<div class="content row">
<div class="document columns nine push-three">
<div class="body">
<a class="button pale improve" href="https://github.com/cakephp/docs/edit/{{ branch }}/{{ language }}/{{ pagename }}.rst" target="_blank">Improve this Doc</a>
{%- if pagename != 'search' -%}
<a class="button pale improve" href="https://github.com/cakephp/docs/edit/{{ branch }}/{{ language }}/{{ pagename }}.rst" target="_blank">Improve this Doc</a>
{%- endif -%}
{% block body %} {% endblock %}
</div>
</div>
Expand Down

0 comments on commit 2cc5022

Please sign in to comment.