2018-09-11 14:11:24 +03:00
|
|
|
{%- if display_toc %}
|
|
|
|
<div class="header_main_logo inline-block mobile-hide">
|
2019-12-30 12:02:06 +03:00
|
|
|
<a href="https://{{ BASE_DOMAIN }}/" target="_blank" rel="noopener">
|
2018-09-11 14:11:24 +03:00
|
|
|
<div class="img_wrapper inline-block">
|
2019-12-30 12:02:06 +03:00
|
|
|
<img class="responsive logo_img" src="{{ pathto('_images/layout/logo-lite.svg', 1) }}" alt="Hasura Logo Light" />
|
2018-09-11 14:11:24 +03:00
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<a class="docs_label" href="{{ pathto('', 1) }}">
|
|
|
|
<div class="inline-block hero"> docs </div>
|
|
|
|
</a>
|
|
|
|
<a class="version_txt">
|
2019-12-30 12:02:06 +03:00
|
|
|
<select value="{{ version }}" onchange="location = this.value;" class="selected" aria-label="Select Version">
|
2018-09-11 14:11:24 +03:00
|
|
|
{%- if version == '1.0' %}
|
|
|
|
<option class="option_val" value="https://docs.{{ BASE_DOMAIN }}/1.0" selected="selected">v1.0</option>
|
|
|
|
{%- else -%}
|
|
|
|
<option class="option_val" value="https://docs.{{ BASE_DOMAIN }}/1.0">v1.0</option>
|
|
|
|
{% endif %}
|
|
|
|
</select>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ toc_full }}
|
|
|
|
{%- endif %}
|