Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node-slate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
node-slate
Commits
d1b98be1
Commit
d1b98be1
authored
Apr 10, 2014
by
Christopher Rogers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleans up layout
Signed-off-by:
Christopher Rogers
<
chrissrogers@gmail.com
>
parent
b171d3c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
layout.erb
source/layouts/layout.erb
+4
-7
No files found.
source/layouts/layout.erb
View file @
d1b98be1
...
...
@@ -18,15 +18,11 @@ under the License.
<html>
<head>
<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"
>
<!-- Use title if it's in the page YAML frontmatter -->
<title>
<%=
current_page
.
data
.
title
||
"API Documentation"
%>
</title>
<%=
stylesheet_link_tag
"screen"
,
media:
'screen'
%>
<%=
stylesheet_link_tag
"print"
,
media:
'print'
%>
<%=
stylesheet_link_tag
:screen
,
media: :screen
%>
<%=
stylesheet_link_tag
:print
,
media: :print
%>
<script
src=
"https://code.jquery.com/jquery-1.10.1.min.js"
></script>
<%=
javascript_include_tag
"all"
%>
...
...
@@ -42,6 +38,7 @@ under the License.
<body
class=
"
<%=
page_classes
%>
"
>
<div
class=
"tocify-wrapper"
>
<%=
image_tag
"logo.png"
%>
<input
type=
"text"
id=
"search"
placeholder=
"search"
>
<div
id=
"toc"
>
</div>
<%
if
current_page
.
data
.
toc_footers
%>
...
...
@@ -64,7 +61,7 @@ under the License.
<div
id=
"lang-selector"
>
<%
language_tabs
.
each
do
|
lang
|
%>
<%
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
%>
<a
href=
"#"
data-language-name=
"
<%=
lang
%>
"
>
<%=
lang
%>
</a>
<%
end
%>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment