Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Updates slate with a title as well as fixed favicon
Browse files Browse the repository at this point in the history
Fixes the favicon as well as adds a title to the side-bar
  • Loading branch information
cdrage committed Dec 5, 2017
1 parent 3a3a6a6 commit 2c30af6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion slate/source/layouts/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ under the License.
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><%= current_page.data.title || "API Documentation" %></title>
<%= favicon_tag '/img/favicon.ico' %>
<link href="/img/favicon.ico" rel="icon" type="image/ico" />

<style>
<%= Rouge::Themes::MonokaiSublime.render(:scope => '.highlight') %>
Expand All @@ -53,6 +53,8 @@ under the License.
</a>
<div class="toc-wrapper">
<a href="/"><%= image_tag "logo.png", class: 'logo' %></a>
<h2 style="text-align:center;color:#fff"><%= current_page.data.title %></h2>

<% if language_tabs.any? %>
<div class="lang-selector">
<% language_tabs.each do |lang| %>
Expand Down

0 comments on commit 2c30af6

Please sign in to comment.