1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <header>
- <a class="scroll-point pt-top" name="top"></a>
- <nav class="navbar navbar-inverse navbar-fixed-top">
- <div class="container-fluid">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="{{ site.baseurl }}/"><img id="logo_top" src="{{ site.baseurl }}/static/img/cordova-logo-newbrand.svg"/></a>
- </div>
- <div id="navbar" class="navbar-collapse collapse">
- <div class="nav_bar_center">
- <ul class="nav navbar-nav">
- <li {% if page.docs_tab %}class="active"{% endif %}>
- <a href="{{ site.baseurl }}/docs/zh-cn/{{ site.default_linked_docs_version }}/">cordova中文文档</a>
- </li>
- <li {% if page.plugins_tab %}class="active"{% endif %}>
- <a href="{{ site.baseurl }}/plugins">插件</a>
- </li>
- <li {% if page.blog_tab %}class="active"{% endif %}>
- <a href="{{ site.baseurl }}/blog" id="blog_button">cordova博客<span class="badge" id="new_blog_count"></span></a>
- </li>
- <li {% if page.blog_tab %}class="active"{% endif %}>
- <a href="{{ site.baseurl }}/community" id="blog_button">cordova中文社区<span class="badge" id="new_blog_count"></span></a>
- </li>
- <li {% if page.contribute_tab %}class="active"{% endif %}>
- <a href="{{ site.baseurl }}/contribute">贡献</a>
- </li>
- <li>
- <a href="{{ site.baseurl }}/#getstarted">快速开始</a>
- </li>
- <li>
- <form class="navbar-form navbar-right" id="header-search-form" role="search">
- <div class="input-group">
- {% if page.version %}
- {% assign version = page.version %}
- {% else %}
- {% assign version = site.latest_docs_version %}
- {% endif %}
- <input id="header-search-field" type="text" placeholder="Search '{{ version }}' docs..." class="form-control hidden-xs" autocomplete="off">
- </div>
- </form>
- </li>
- </ul>
- </div>
- </div><!--/.navbar-collapse -->
- </div>
- </nav>
- <div id="_fixed_navbar_spacer" style="padding-top:50px"></div>
- </header>
|