Commit d1b98be1 authored by Christopher Rogers's avatar Christopher Rogers

Cleans up layout

Signed-off-by: 's avatarChristopher Rogers <chrissrogers@gmail.com>
parent b171d3c4
...@@ -18,15 +18,11 @@ under the License. ...@@ -18,15 +18,11 @@ under the License.
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- Always force latest IE rendering engine or request Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<!-- Use title if it's in the page YAML frontmatter -->
<title><%= current_page.data.title || "API Documentation" %></title> <title><%= current_page.data.title || "API Documentation" %></title>
<%= stylesheet_link_tag "screen", media: 'screen' %> <%= stylesheet_link_tag :screen, media: :screen %>
<%= stylesheet_link_tag "print", media: 'print' %> <%= stylesheet_link_tag :print, media: :print %>
<script src="https://code.jquery.com/jquery-1.10.1.min.js"></script> <script src="https://code.jquery.com/jquery-1.10.1.min.js"></script>
<%= javascript_include_tag "all" %> <%= javascript_include_tag "all" %>
...@@ -42,6 +38,7 @@ under the License. ...@@ -42,6 +38,7 @@ under the License.
<body class="<%= page_classes %>"> <body class="<%= page_classes %>">
<div class="tocify-wrapper"> <div class="tocify-wrapper">
<%= image_tag "logo.png" %> <%= image_tag "logo.png" %>
<input type="text" id="search" placeholder="search">
<div id="toc"> <div id="toc">
</div> </div>
<% if current_page.data.toc_footers %> <% if current_page.data.toc_footers %>
...@@ -64,7 +61,7 @@ under the License. ...@@ -64,7 +61,7 @@ under the License.
<div id="lang-selector"> <div id="lang-selector">
<% language_tabs.each do |lang| %> <% language_tabs.each do |lang| %>
<% if lang.is_a? Hash %> <% if lang.is_a? Hash %>
<a href="#" data-language-name="<%= lang.keys[0] %>"><%= lang.values[0] %></a> <a href="#" data-language-name="<%= lang.keys.first %>"><%= lang.values.first %></a>
<% else %> <% else %>
<a href="#" data-language-name="<%= lang %>"><%= lang %></a> <a href="#" data-language-name="<%= lang %>"><%= lang %></a>
<% end %> <% end %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment