Skip to content

Commit 00d07eb

Browse files
committed
extrait _changes partial
1 parent 22cd439 commit 00d07eb

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

content/changes/index.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,5 @@
44

55
# API Changes
66

7-
<% api_changes.each do |article| %>
8-
<div class="change" id="<%= article.path %>">
9-
<%= render '_meta', :item => article %>
10-
<%= article.compiled_content %>
11-
</div>
12-
<% end %>
7+
<%= render '_changes', :changes => api_changes %>
8+

layouts/_changes.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<% @changes.each do |article| %>
2+
<div class="change" id="<%= article.path %>">
3+
<%= render '_meta', :item => article %>
4+
<%= article.compiled_content %>
5+
</div>
6+
<% end %>

layouts/default.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<script src="/shared/js/documentation.js" type="text/javascript"></script>
1616
</head>
1717
<body class="api">
18-
1918
<div id="header-wrapper">
2019
<div id="header">
2120
<div>

0 commit comments

Comments
 (0)