mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
temp update docs_api template before removing from the build, #901
This commit is contained in:
15
docs/templates/pages-data.template.html
vendored
15
docs/templates/pages-data.template.html
vendored
@@ -2,7 +2,13 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% include meta_tags.html %}
|
||||
<title>{{page.title}} - Ionic Framework</title>
|
||||
|
||||
{% if page.versionHref != "/docs" %}
|
||||
<!-- version {{ page.versionHref }} should not be indexed -->
|
||||
<meta name="robots" content="noindex">
|
||||
{% endif %}
|
||||
|
||||
<title>{{page.title}}{% if page.header_sub_title %} - {{ page.header_sub_title}}{% endif %} - Ionic Framework</title>
|
||||
{% include head_includes.html %}
|
||||
</head>
|
||||
|
||||
@@ -19,6 +25,7 @@
|
||||
<div class="container">
|
||||
|
||||
<div class="picker">
|
||||
<!--
|
||||
<select onchange="window.location.href=this.options[this.selectedIndex].value">
|
||||
<@ for ver in version.list @>
|
||||
<option
|
||||
@@ -28,6 +35,8 @@
|
||||
</option>
|
||||
<@ endfor @>
|
||||
</select>
|
||||
-->
|
||||
{% include api_version_select.html %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -57,11 +66,11 @@
|
||||
<!-- Docs: JavaScript -->
|
||||
<ul class="nav left-menu active-menu">
|
||||
<li class="menu-title">
|
||||
<a href="{% if page.versionHref %}{{page.versionHref}}{% else %}}<$ version.current.href $>{% endif %}">
|
||||
<a href="{% if page.versionHref %}{{page.versionHref}}{% else %}}<$ version.current.href $>{% endif %}/api/">
|
||||
JavaScript
|
||||
</a>
|
||||
</li>
|
||||
{% include api_menu_<$ version.current.name $>.html %}
|
||||
{% include api_menu.html %}
|
||||
</ul>
|
||||
|
||||
<ul class="nav left-menu">
|
||||
|
||||
Reference in New Issue
Block a user