|
47 | 47 | <mainclass="col-12 col-md-8 {% if page.toc == true %}col-xl-8 col-xxl-8{% else %}col-xl-10 col-xxl-10{% endif%} py-3 bd-content"role="main"> |
48 | 48 | <divclass="bd-content-inner py-xl-3"> |
49 | 49 | <divclass="bd-improve-link"> |
50 | | - {% if page.url contains '/gitops/' %} |
| 50 | + {% if page.collection != site.gitops_collection %} |
51 | 51 | {% assign url_size = page.url | size | minus: 1 %} |
52 | 52 | {% capture edit_url %}https://github.com/codefresh-io/docs.codefresh.io/edit/master/_docs/{{ page.url | slice: 0, url_size | replace: '/docs/', '' }}.md{% endcapture %} |
53 | 53 | <ahref="{{ edit_url }}"target="_blank"><iclass="fas fa-edit fa-sm"></i> Improve this page on GitHub</a> |
|