We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Middleman's sitemap.resources might do the trick, something like:
sitemap.resources
Don't know if it can be in epic.html.erb .. I used something like this in a file in layouts/.
--- title: Epic Mode epic: true nav_list_links: "#%s" --- <ul> <% sitemap.resources .select { |resource| resource.path == 'sections' } .concat( sitemap.resources .select { |resource| resource.path != '_koningsberg-map-and-graph.html' } .sort_by { |resource| [resource.path.count('/'), resource.path] } ) .each do |resource| %> <li><%# resource.path %><%= link_to( resource.page[:title] || resource.path.to_s.split('/')[1].split('.')[0], resource ) %></li> <% end %> </ul>
The text was updated successfully, but these errors were encountered:
Thanks so much! I'd forgotten about this, but I'll see what I can do. Much appreciated. 🖤
Sorry, something went wrong.
No branches or pull requests
Middleman's
sitemap.resources
might do the trick, something like:Don't know if it can be in epic.html.erb .. I used something like this in a file in layouts/.
The text was updated successfully, but these errors were encountered: