Skip to content
Snippets Groups Projects
Unverified Commit 9911aa1a authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Ordre des catégories (#2434)

parent 8fb3ae44
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ about_categories.ordered.each do |category|
%>
taxonomies:
<%
taxonomies.each do |taxonomy|
taxonomies.ordered.each do |taxonomy|
taxonomy_l10n = taxonomy.localization_for(l10n.language)
next if taxonomy_l10n.nil?
%>
......@@ -24,7 +24,7 @@ taxonomies:
slug: "<%= taxonomy_l10n.slug_with_ancestors_slugs(separator: '-') %>"
categories:
<%
about_categories.in_taxonomy(taxonomy).each do |category|
about_categories.in_taxonomy(taxonomy).ordered.each do |category|
category_l10n = category.localization_for(l10n.language)
next if category_l10n.nil?
hugo = category_l10n.hugo(@website)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment