Skip to content

Commit

Permalink
Sort the Fundamentals links on doc home page by weight
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Mar 14, 2018
1 parent cdaa89c commit 8de5827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/page/documentation-home.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ define "main" }}
{{ $section_to_display := (.Site.Taxonomies.categories.fundamentals).Pages }}
{{ $section_to_display := (.Site.Taxonomies.categories.fundamentals).Pages.ByWeight }}
{{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display ) }}
{{ end }}

0 comments on commit 8de5827

Please sign in to comment.