Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
docs
Commits
18558f61
Commit
18558f61
authored
Apr 16, 2016
by
Tobias Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #407 from prometheus/markup-fixes
More markup cleanups/fixes.
parents
cd4f6528
33c8ec5c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
13 deletions
+18
-13
index.html
content/blog/index.html
+13
-11
blog.html
layouts/blog.html
+2
-0
blog_sidebar.html
layouts/blog_sidebar.html
+3
-2
No files found.
content/blog/index.html
View file @
18558f61
---
title: Blog
---
<div
class=
"col-md-9"
>
<div
class=
"row"
>
<div
class=
"col-md-9"
>
<
%
sorted_articles
.
each
do
|
post
|
%
>
<div
class=
"blog doc-content"
>
<h1><
%=
link_to
post
[
:title
],
post
.
path
%
></h1>
...
...
@@ -11,5 +12,6 @@ title: Blog
</article>
</div>
<
%
end
%
>
</div>
<
%=
render
'
blog_sidebar
'
%
>
</div>
<
%=
render
'
blog_sidebar
'
%
>
layouts/blog.html
View file @
18558f61
<
%
render
'
default
'
do
%
>
<div
class=
"row"
>
<div
class=
"col-md-9 blog doc-content"
>
<h1><
%=
item
[
:title
]
%
></h1>
<aside>
Posted at:
<
%=
get_pretty_date
(
item
)
%
>
by
<
%=
item
[
:author_name
]%
></aside>
...
...
@@ -22,4 +23,5 @@
</div>
<
%=
render
'
blog_sidebar
'
%
>
</div>
<
%
end
%
>
layouts/blog_sidebar.html
View file @
18558f61
<div
class=
"col-md-3 side-nav-col"
>
<ul
class=
"nav navbar-nav side-nav"
>
<li
class=
"active"
>
<li>
<span
class=
"nav-header"
>
Blog posts
</span>
<ul
class=
"nav active"
>
<
%
sorted_articles
.
each
do
|
post
|
%
>
<li><
%=
link_to
post
[
:title
],
post
.
path
%
></li>
<
%
end
%
>
</ul>
</li>
</ul>
</div>
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