packer-cn/website/source/layouts/inner.erb

34 lines
844 B
Plaintext
Raw Normal View History

2013-06-21 14:46:38 -04:00
<% wrap_layout :layout do %>
<div class="docs-wrapper">
<div class="sidebar dark-background">
<%= yield_content :sidebar %>
<div class="sidebar-background"></div>
</div>
<div class="docs-body">
<div class="docs-content">
<%= yield %>
</div>
<% if current_page.data.next_url %>
<div class="pagination">
<a class="previous-section" href="<%= current_page.data.prev_url %>"></a>
2013-06-21 23:10:24 -04:00
<% if current_page.data.next_url == "" %>
<h4><span class="text-green uppercase">End</span></h4>
<% else %>
2013-06-21 14:46:38 -04:00
<a class="next-section" href="<%= current_page.data.next_url %>">
<h4>
<span class="text-green uppercase">next</span>
<%= current_page.data.next_title %>
</h4>
</a>
2013-06-21 23:10:24 -04:00
<% end %>
2013-06-21 14:46:38 -04:00
</div>
<% end %>
<div class="docs-background"></div>
</div>
</div>
<% end %>