You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
616 B
Plaintext
23 lines
616 B
Plaintext
---
|
|
title: The Guide
|
|
icon: book
|
|
summary: 'A guide helping you to use Plume'
|
|
priority: 4
|
|
---
|
|
|
|
<div class="cards">
|
|
<% sitemap.resources
|
|
.select{ |p| p.path =~ /\.html/ && p.path != "index.html" && p.url.chomp('/').split('/').size == 3 && p.path =~ /guide\// }
|
|
.sort{ |a, b| a.data.title <=> b.data.title }
|
|
.sort{ |a, b| -(a.data.priority || 0) <=> -(b.data.priority || 0) }
|
|
.each do |res|
|
|
%>
|
|
<article>
|
|
<i data-feather="<%= res.data.icon %>"></i>
|
|
<h2>
|
|
<%= link_to res.data.title, res %>
|
|
</h2>
|
|
<p><%= res.data.summary %></p>
|
|
</article>
|
|
<% end %>
|
|
</div> |