Переглянути джерело

Updated binder button to work with CMP repo.

data8 4 роки тому
батько
коміт
1547f4a7a0
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      _includes/buttons/binder.html

+ 2 - 2
_includes/buttons/binder.html

@@ -6,9 +6,9 @@
     {% assign binder_interact_prefix="filepath=" %}
 {% endif %}
 
-{% capture interact_url_binder %}v2/gh/{{ site.binder_repo_org }}/{{ site.binder_repo_name }}/{{ site.binder_repo_branch }}?{{ binder_interact_prefix }}{{ page.interact_link | url_encode }}{% endcapture %}
+{% capture interact_url_binder %}v2/git/https%3A%2F%2Fgit.cmp.uea.ac.uk%2F{{ site.binder_repo_org }}%2F{{ site.binder_repo_name }}/{{ site.binder_repo_branch }}?{{ binder_interact_prefix }}{{ page.interact_link | url_encode }}{% endcapture %}
 {% capture interact_icon_binder %}{{ site.images_url | relative_url }}/logo_binder.svg{% endcapture %}
 
 <a href="{{ site.binderhub_url }}/{{ interact_url_binder }}"><button class="interact-button" id="interact-button-binder"><img class="interact-button-logo" src="{{ interact_icon_binder }}" alt="Interact" />{{ site.binderhub_interact_text }}</button></a>
 
-{%- endif %}
+{%- endif %}