forked from superfly/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
guides.html.erb
27 lines (24 loc) · 1.05 KB
/
guides.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
title: Guides and Examples
layout: docs
toc: false
nav: firecracker
---
<h2 class="group flex items-center whitespace-pre-wrap relative mt-14 mb-6 text-navy font-heading">Example Applications</h2>
<ul>
<% glob("docs/app-guides/*.html.*").select{ |page| in_category?(page, categories: %w[guide]) }.sort_by{ |page| page.data.title }.each do |page| %>
<li><%=link_to_page page %></li>
<% end %>
</ul>
<h2 class="group flex items-center whitespace-pre-wrap relative mt-14 mb-6 text-navy font-heading">Machines</h2>
<ul>
<% glob("docs/app-guides/*.html.*").select{ |page| in_category?(page, categories: %w[machines]) }.sort_by{ |page| page.data.title }.each do |page| %>
<li><%=link_to_page page %></li>
<% end %>
</ul>
<h2 class="group flex items-center whitespace-pre-wrap relative mt-14 mb-6 text-navy font-heading">Other Guides</h2>
<ul>
<% glob("docs/app-guides/*.html.*").reject{ |page| in_category?(page, categories: %w[machines guide]) }.sort_by{ |page| page.data.title }.each do |page| %>
<li><%=link_to_page page %></li>
<% end %>
</ul>