{%- if page.version == "master" && include.component == "calicoctl" -%}
https://projectcalico.org/builds/calicoctl
{%- elsif include.component == "calicoctl" -%}
https://github.com/projectcalico/calicoctl/releases/download/{{site.data.versions.first.components.calicoctl.version}}/calicoctl
{%- else -%}
{% comment %} Invalid case {% endcomment %}
{%- endif -%}
